UNPKG

react-timeslot-calendar

Version:

A calendar based on timeslots which can be set as available, occupied and so on.

4 lines (3 loc) 194 B
export const DEFAULT_TIMESLOT_FORMAT = 'h'; export const DEFAULT_TIMESLOT_SHOW_FORMAT = 'h:mm A'; export const DEFAULT_TIMESLOTS = Array(24).fill(null).map((n, i) => [`${ i }`, `${ i + 1 }`] );