// AUTO-GENERATED by scripts/generate-wrappers.mjs — do not edit by hand. // Source: packages/core/manifest.json (component "kanban"). import type { ElementType, ReactNode } from 'react'; import { Kanban as KanbanController, type KanbanOptions } from '@42/core/kanban'; import { C42 } from '../C42'; const DEFAULT_HTML: string | null = "
\n
\n
First task
\n
\n
\n
\n
\n
"; export interface KanbanProps extends Partial { /** Element/tag rendered as the controller root. Defaults to `"div"`. */ as?: ElementType; className?: string; children?: ReactNode; /** Fired on `kanban:move` — detail: `{ item, from, to, fromIndex, toIndex, order }` */ onMove?: (detail: unknown, event: CustomEvent) => void; /** Extra props are forwarded to the rendered `
` element. */ [key: string]: unknown; } export function Kanban(props: KanbanProps) { const { as, className, children, onMove, drag, keyboard, ...rest } = props; const options = { drag, keyboard } as KanbanOptions; return ( {children as ReactNode} ); }