# GanttTier (@salmonui/gantt)

> The GanttTier interface of @salmonui/gantt: One timeline tier.

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

```ts
import type { GanttTier } 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: interface

```ts
interface GanttTier {
    readonly unit: ScaleUnit;
    readonly count?: number;
    readonly format?: Intl.DateTimeFormatOptions;
    readonly render?: (ctx: GanttTimelineCellContext) => ReactNode;
}
```

One timeline tier.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `unit` | `readonly unit: ScaleUnit;` |  |  |
| `count` | `readonly count?: number;` | optional |  |
| `format` | `readonly format?: Intl.DateTimeFormatOptions;` | optional | `Intl.DateTimeFormat` options for the cell text. |
| `render` | `readonly render?: (ctx: GanttTimelineCellContext) => ReactNode;` | optional |  |
