API reference: @salmonui/gantt
GanttDialogTabtype
import type { GanttDialogTab } from '@salmonui/gantt';type GanttDialogTab<Row> = {
readonly type: 'general' | 'dependency' | 'resources' | 'notes' | 'segments';
readonly label?: string;
readonly fields?: readonly string[];
} | {
readonly type: 'custom';
readonly label: string;
readonly render: (ctx: {
readonly task: Row | null;
readonly values: Record<string, unknown>;
readonly setValue: (field: string, value: unknown) => void;
}) => ReactNode;
};
A dialog tab.