UNPKG

react-hook-form-mantine

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