import { Check, X } from "lucide-react"; import Button from "@/components/ui/Button"; import TextAnimation from "@/components/ui/TextAnimation"; import ScrollReveal from "@/components/ui/ScrollReveal"; interface FeaturesComparisonProps { tag: string; title: string; description: string; primaryButton?: { text: string; href: string }; secondaryButton?: { text: string; href: string }; negativeItems: string[]; positiveItems: string[]; } const FeaturesComparison = ({ tag, title, description, primaryButton, secondaryButton, negativeItems, positiveItems, }: FeaturesComparisonProps) => { return (
{tag} {(primaryButton || secondaryButton) && (
{primaryButton &&
)}
{negativeItems.map((item) => (
{item}
))}
{positiveItems.map((item) => (
{item}
))}
); }; export default FeaturesComparison;