import { motion } from "motion/react"; import Button from "@/components/ui/Button"; import TextAnimation from "@/components/ui/TextAnimation"; import ImageOrVideo from "@/components/ui/ImageOrVideo"; type HeroSplitProps = { tag: string; title: string; description: string; primaryButton: { text: string; href: string }; secondaryButton: { text: string; href: string }; } & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); const HeroSplit = ({ tag, title, description, primaryButton, secondaryButton, imageSrc, videoSrc, }: HeroSplitProps) => { return (
{tag}
); }; export default HeroSplit;