1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 16:28:28 -04:00
jarv.is/components/YouTube/YouTube.tsx
2025-03-31 09:15:40 -04:00

15 lines
437 B
TypeScript

"use client";
import YouTubeEmbed from "react-lite-youtube-embed";
import type { ComponentPropsWithoutRef } from "react";
import "react-lite-youtube-embed/dist/LiteYouTubeEmbed.css";
export type YouTubeProps = Omit<ComponentPropsWithoutRef<typeof YouTubeEmbed>, "title">;
const YouTube = ({ ...rest }: YouTubeProps) => {
return <YouTubeEmbed cookie={false} containerElement="div" title="" {...rest} />;
};
export default YouTube;