UNPKG

react-native-timeline-view

Version:

react-native-timeline-view is a fully customizable timeline component for React Native that renders time slots with smart booking display. It highlights ongoing meetings with real-time indicators, supports multi-slot bookings, and displays available/unava

25 lines (21 loc) 559 B
declare module 'react-native-timeline-view' { import { ViewStyle } from 'react-native'; export interface Slot { slot: string; available: boolean; booking?: { title: string; startDate: string; endDate: string; }; } interface TimeLineViewProps { slots: Slot[]; onPress?: (slot: Slot) => void; dynamicStyle?: ViewStyle; autoRefresh?: boolean; pollingInterval?: number; fetchSlots?: () => Promise<Slot[]>; } export const TimeLineView: React.FC<TimeLineViewProps>; }