# GanttLabel (@salmonui/gantt)

> The GanttLabel type of @salmonui/gantt: Label value: a field name or a render function.

Canonical: https://salmonui.dev/docs/reference/gantt/GanttLabel

```ts
import type { GanttLabel } from '@salmonui/gantt';
```

Entry index: https://salmonui.dev/docs/reference/gantt (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/gantt.md).

## Reference

Kind: type

```ts
type GanttLabel<Row> = string | ((ctx: GanttTaskbarContext<Row>) => ReactNode);
```

Label value: a field name or a render function.
