mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 16:28:28 -04:00
15 lines
437 B
TypeScript
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;
|