View as Markdown

API reference: @salmonui/gantt

GanttLabeltype

import type { GanttLabel } from '@salmonui/gantt';
type GanttLabel<Row> = string | ((ctx: GanttTaskbarContext<Row>) => ReactNode);

Label value: a field name or a render function.