UNPKG

react-hook-form-mantine

Version:
5 lines (4 loc) 512 B
import { FieldValues, UseControllerProps } from 'react-hook-form'; import { DatePickerType, DatePickerInputProps as $DatePickerInputProps } from '@mantine/dates'; export type DatePickerInputProps<T extends FieldValues> = UseControllerProps<T> & Omit<$DatePickerInputProps<DatePickerType>, "value" | "defaultValue">; export declare function DatePickerInput<T extends FieldValues>({ name, control, defaultValue, rules, shouldUnregister, onChange, ...props }: DatePickerInputProps<T>): import("react").JSX.Element;