diff --git a/src/components/YoutubeRenderer.tsx b/src/components/YoutubeRenderer.tsx new file mode 100644 index 000000000..3710c8704 --- /dev/null +++ b/src/components/YoutubeRenderer.tsx @@ -0,0 +1,35 @@ +import React from 'react'; + +interface Props { + videoURL: string; + width: string; + height: string; + style?: React.CSSProperties; +} + +export const YoutubeRenderer = ({ width, height, videoURL, style }: Props) => { + if (!videoURL) { + return null; + } + return ( + + ); +}; + +// Example Usage: +/* ; */ + +export default YoutubeRenderer;