1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 19:28:27 -04:00
jarv.is/components/YouTube/YouTube.tsx

18 lines
323 B
TypeScript

import { YouTubeEmbed } from "@next/third-parties/google";
import styles from "./YouTube.module.css";
export type YouTubeProps = {
id: string;
};
const YouTube = ({ id }: YouTubeProps) => {
return (
<div className={styles.wrapper}>
<YouTubeEmbed videoid={id} />
</div>
);
};
export default YouTube;