"use client"; import { cn } from "@/lib/utils"; export type ExperienceKanbanCard = { id: string; title: string; subtitle?: string; }; export type ExperienceKanbanColumn = { id: string; title: string; cards: ExperienceKanbanCard[]; }; export function ExperienceKanban({ columns, onMove, }: { columns: ExperienceKanbanColumn[]; onMove?: (cardId: string, fromColumnId: string, toColumnId: string) => void; }) { return (
{card.title}
{card.subtitle ? ({card.subtitle}
) : null} {onMove && columns.length > 1 ? (