UNPKG

mantine-datepicker-jalali

Version:
10 lines 538 B
import { DatePickerType, DatePickerValue } from '../../types'; interface UseUncontrolledDates<Type extends DatePickerType = 'default'> { type: Type; value: DatePickerValue<Type>; defaultValue: DatePickerValue<Type>; onChange(value: DatePickerValue<Type>): void; } export declare function useUncontrolledDates<Type extends DatePickerType = 'default'>({ type, value, defaultValue, onChange, }: UseUncontrolledDates<Type>): [any, (value: any) => void, boolean]; export {}; //# sourceMappingURL=use-uncontrolled-dates.d.ts.map