UNPKG

mobile-react-infinite-calendar

Version:

A mobile-optimized infinite scroll calendar component for React

15 lines (14 loc) 586 B
/** * IntersectionObserver 관리 커스텀 훅 */ import { RefObject } from 'react'; import type { MonthData } from './useCalendarComposer'; interface UseIntersectionObserverProps { calendarRef: RefObject<HTMLDivElement>; monthsData: MonthData[]; activeMonth: Date; onActiveMonthChange: (month: Date) => void; onCurrentMonthVisibilityChange: (visible: boolean) => void; } export declare function useIntersectionObserver({ calendarRef, monthsData, activeMonth, onActiveMonthChange, onCurrentMonthVisibilityChange }: UseIntersectionObserverProps): void; export {};