import Button from "@/components/ui/Button"; import TextAnimation from "@/components/ui/TextAnimation"; interface TextBoxProps { tag?: string; title: string; description: string; primaryButton?: { text: string; href: string }; secondaryButton?: { text: string; href: string }; className?: string; } const TextBox = ({ tag, title, description, primaryButton, secondaryButton, className, }: TextBoxProps) => (
{tag && (

{tag}

)} {(primaryButton || secondaryButton) && (
{primaryButton &&
)}
); export default TextBox;