// src/blocks/KanbanHori/Component.tsx import React from 'react' type Card = { title: string; subtitle?: string } type Row = { label: string; cards?: Card[] } type Props = { rows?: Row[] } export function KanbanHoriBlock({ rows }: Props) { if (!Array.isArray(rows) || rows.length === 0) return null return (
{rows.map((row, i) => (
{row.label}
{Array.isArray(row.cards) && row.cards.map((card, j) => (

{card.title}

{card.subtitle &&

{card.subtitle}

}
))}
))}
) }