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
10 lines (9 loc) • 405 B
TypeScript
import { ScheduleGroup, TimeBlock } from '../common';
/**
* Schedule groups parser with setting offset
* @param defaultValue - input groups
* @param columnsLength - used day of week count
* @param tzOffset - required offset in ms
* @returns Timeblocks with offset
*/
export declare const inputParser: (defaultValue: ScheduleGroup[], columnsLength: number, tzOffset: number) => TimeBlock[];