interface VideoGalleryProps { data: { heading: string; videoUrl: string; thumbnail: string; }; } const VideoGallery = ({ data }: VideoGalleryProps) => { return (
img
img
img

{data.heading.split(' ').map((word, index) => ( {word}{index === 0 ?
: ' '}
))}

); }; export default VideoGallery;