Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 560 Bytes

File metadata and controls

23 lines (18 loc) · 560 Bytes

Kanban Component

Board view for managing items in columns.

Kanban kanban

Draggable board for task management.

interface KanbanSchema {
  type: 'kanban';
  data: any[]; // The flat list of items
  groupBy: string; // Field to group by (e.g., "status")
  columns?: {
    id: string; // correspond to value in groupBy field
    title: string;
    color?: string;
  }[];
  cardTemplate: Schema; // Template for rendering each card item (usually a Card component)
  
  onDragEnd?: string; // Action triggered when item status changes
}