UNPKG

react-hook-form-mantine

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