<script>
import Gantt from "@fabiohvp/svelte-gantt";
import utils from "@fabiohvp/svelte-gantt/src/utils.js";
import {getRows} from "./Rows.js";
const zoom = "day";
const padding = 365; //1 year using zoom = "day"
const today = new Date();
const rows = getRows(); //generated dummy data
let endTime = utils.addDays(today, padding);
endTime = endTime.getTime();
</script>
<style>
:global(.body-slices .slice) { /*added in latest commit but not published yet*/
content-visibility: auto;
}
</style>
<Gantt startTime={today} {endTime} {rows} {zoom} />