@vurilo/nepali-date-picker
Version:
Nepali Calendars, date and time pickers based on Mantine components
11 lines (10 loc) • 541 B
TypeScript
import { DatePickerType, DatePickerValue } from '../../types';
interface UseUncontrolledDates<Type extends DatePickerType = 'default'> {
type: Type;
value: DatePickerValue<Type> | undefined;
defaultValue: DatePickerValue<Type> | undefined;
onChange: ((value: DatePickerValue<Type>) => void) | undefined;
applyTimezone?: boolean;
}
export declare function useUncontrolledDates<Type extends DatePickerType = 'default'>({ type, value, defaultValue, onChange, applyTimezone, }: UseUncontrolledDates<Type>): any[];
export {};