import React from 'react'; interface ComparisonGridItem { label: string; leftValue: string; rightValue: string; } interface ComparisonGridProps { title?: string; leftLabel: string; rightLabel: string; items: ComparisonGridItem[]; } export default function ComparisonGrid({ title, leftLabel, rightLabel, items }: ComparisonGridProps) { return (
{title && (

{title}

)}
{leftLabel}
{rightLabel}
{items.map((item, index) => (
{item.label}
{item.leftValue}
{item.rightValue}
))}
); }