// Sticky time axis at the top of the timeline grid. Shares the same // zoom/pan transform as the rows so labels line up with ticks. function TimeAxis({ zoom, pan }) { return (
{MeowUtil.HOUR_TICKS.map((t, i) => { if (!t.labeled) { return (
); } return (
{MeowUtil.hourLabel(t.hour)}
); })}
); } window.TimeAxis = TimeAxis;