UNPKG

@jigoooo/shared-ui

Version:

A reusable React component library and design system with TypeScript support, built on Vite for seamless integration and optimized performance.

11 lines (10 loc) 341 B
export declare function useDatePicker({ date, onChange, }: { date?: Date; onChange?: (value: Date) => void; }): { selectedDate: Date | null; showDatePicker: boolean; setShowDatePicker: import('react').Dispatch<import('react').SetStateAction<boolean>>; currentDate: Date; handleDateClick: (date: Date) => void; };