UNPKG

react-hook-form-mantine

Version:
5 lines (4 loc) 550 B
import { type FieldValues, type UseControllerProps } from "react-hook-form"; import { type MonthPickerInputProps as $MonthPickerInputProps, type 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-runtime").JSX.Element;