@aldabil/react-scheduler
Version:
React scheduler component based on Material-UI & date-fns
18 lines (17 loc) • 558 B
TypeScript
import { JSX } from 'react';
import { CellRenderedProps, DayHours } from '../types';
import { WeekDays } from './Month';
export interface WeekProps {
weekDays: WeekDays[];
weekStartOn: WeekDays;
startHour: DayHours;
endHour: DayHours;
step: number;
cellRenderer?(props: CellRenderedProps): JSX.Element;
headRenderer?(day: Date): JSX.Element;
hourRenderer?(hour: string): JSX.Element;
navigation?: boolean;
disableGoToDay?: boolean;
}
declare const Week: () => import("react/jsx-runtime").JSX.Element;
export { Week };