diff --git a/components/video.tsx b/components/video.tsx new file mode 100644 index 0000000..98c9cf9 --- /dev/null +++ b/components/video.tsx @@ -0,0 +1,26 @@ +interface VideoProps { + src: string; + caption?: string; +} + +export default function Video({ src, caption }: VideoProps) { + return ( +
+
+
+ {caption && ( +
+ {caption} +
+ )} +
+ ); +}