import { PLAN_COLUMNS, PLAN_ROWS } from '../content/plans'; export function PlanTable({ current }: { current?: 'local' | 'free' | 'basic' | 'pro' }) { return (
{PLAN_COLUMNS.map((column) => ( ))} {PLAN_ROWS.map((row) => ( {row.values.map((value, index) => ( ))} ))}
What each plan includes
Feature {column.name} {current === column.key && (your plan)} {column.price}
{row.label} {value === true && ✓} {value === false && –} {typeof value === 'string' && value}
); }