UNPKG

react-weekly-schedule

Version:

![Travis (.org)](https://img.shields.io/travis/remotelock/react-week-scheduler.svg) ![npm](https://img.shields.io/npm/v/@remotelock/react-week-scheduler.svg)

27 lines 994 B
import React from 'react'; import { CellInfo, ClassNames, DateRange, Grid, OnChangeCallback, ScheduleType } from '../types'; export declare type ScheduleProps = { classes: ClassNames; grid: Grid; onChange?: OnChangeCallback; isResizable?: boolean; isDeletable?: boolean; moveAxis: 'none' | 'both' | 'x' | 'y'; cellInfoToDateRange(cell: CellInfo): DateRange; onActiveChange?(index: [number, number] | [null, null]): void; onClick?(index: [number, number] | [null, null]): void; getIsActive(indexes: { cellIndex: number; rangeIndex: number; }): boolean; eventContentComponent?: any; eventRootComponent?: any; disabled?: boolean; }; export declare const Schedule: React.NamedExoticComponent<{ dateRangeToCells(range: DateRange): CellInfo[]; ranges: ScheduleType; className?: string | undefined; classes: import("../styles/styles.module.scss").Styles; } & ScheduleProps>; //# sourceMappingURL=Schedule.d.ts.map