Skip to content

GanttProps

GanttProps<TData> = GanttReactOptions<TData> & Readonly<AriaAttributes> & GanttDataAttributes & object

Defined in: react/src/types.ts:163

The props of Gantt: the options of useGantt and what goes to the container div as it is: id, className, style, the aria-* attributes (typed as React’s) and the data-* attributes. The container is a div that the chart fills, so give it a height (or give the chart its own with layout.height).

TData = unknown

Type of task.data.

readonly optional className?: string

The class of the container div.

readonly optional id?: string

The id of the container div.

readonly optional style?: CSSProperties

The style of the container div.