Skip to main content

cellHeight

Description

Optional. Defines the height of a cell in pixels

Usage

cellHeight?: number;

Example

The default value is 38px.

import { getData } from "./common/data";
import { Gantt } from "@svar-ui/react-gantt";

const data = getData();

export default function App() {
return <Gantt tasks={data.tasks} cellHeight={32} />;
}