# GanttDialogTab (@salmonui/gantt)

> The GanttDialogTab type of @salmonui/gantt: A dialog tab.

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

```ts
import type { GanttDialogTab } 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 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.
