This commit is contained in:
@@ -1,9 +1,5 @@
|
|||||||
export const YouTubeVideo = ({id, children} : any) => (
|
export const YouTubeVideo = ({ id, children }: any) => (
|
||||||
<iframe
|
<iframe src={'https://www.youtube.com/embed/' + id} className="w-full xl:h-96 md:h-80 h-64">
|
||||||
src={'https://www.youtube.com/embed/' + id}
|
{children}
|
||||||
width="640"
|
|
||||||
height="360"
|
|
||||||
>
|
|
||||||
{children}
|
|
||||||
</iframe>
|
</iframe>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user