View as Markdown

API reference: @salmonui/gantt

GanttToolbarItemtype

import type { GanttToolbarItem } from '@salmonui/gantt';
type GanttToolbarItem = GanttToolbarItemId | {
    readonly id: string;
    readonly text?: string;
    readonly icon?: ReactNode;
    readonly disabled?: boolean;
    readonly align?: 'start' | 'end';
    readonly render?: () => ReactNode;
};