react-weekly-table
Version:
React weekly scheduler <br/> By default build time ranges for a week, supports up to 31 days <br/> Can work with different timezones, data always return to UTC+0
9 lines (8 loc) • 370 B
TypeScript
import { TimeBlock } from '../common';
/**
* Calculates input blocks offset
* @param inputBlocks - array of timeblocks after parsing
* @param columnsLength - used day of week count
* @returns array of timeblocks with corrected days of week visualization
*/
export declare const inputOffset: (inputBlocks: TimeBlock[], columnsLength: number) => TimeBlock[];