in packages/react-heat-streams/src/components/HeatStreamsChart.tsx [245:250]
function useCategoryY(rowHeight: number, rowGap: number) {
return useCallback(
(index: number): number => rowHeight * index + (rowGap ? index : 0),
[rowHeight, rowGap],
)
}