import Image from 'next/image' import { useTheme } from 'next-themes' type VideoType = { sources: { src: string type?: string }[] poster: string title: string } interface Props { video: VideoType highlights?: { label: string; link?: string }[] } const VideoWithHighlights = (props: Props) => { const { resolvedTheme } = useTheme() return (
{props.video.title}
) } export default VideoWithHighlights