Skip to main content

start

Description

Optional. Sets the start date of the timescale

Usage

start?: Date;

Example

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

const data = getData();

export default function App() {
return (
<Gantt
tasks={data.tasks}
start={new Date(2023, 2, 1)}
/>
);
}