UNPKG

f-react-native-schedule

Version:

Flexible scheduling library with more built-in features and enhanced customization options

13 lines (12 loc) 748 B
import React from 'react'; import { ViewStyle } from 'react-native'; import ScheduleContext from './ScheduleContext'; import type { CellDimensions, CellSettings, ScheduleSchedulingSettings } from './types'; export declare type ScheduleProps = { style?: ViewStyle; schedulingSettings?: Partial<ScheduleSchedulingSettings>; cellSettings?: Partial<CellSettings>; cellDimensions?: Partial<CellDimensions>; } & Partial<Pick<ScheduleContext, 'schedules' | 'selectedDate' | 'startHour' | 'endHour' | 'currentView' | 'daysWeek' | 'headerSettings' | 'sidebarSettings' | 'onCellPress' | 'onCellLongPress' | 'onSchedulingPress' | 'onSchedulingLongPress'>>; declare const Schedule: React.FC<ScheduleProps>; export default Schedule;