mantine-datepicker-jalali
Version:
jalali datepicker of mantine library
10 lines • 538 B
TypeScript
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