react-hook-form-mantine
Version:
React hook form wrapper for Mantine components
5 lines (4 loc) • 550 B
TypeScript
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;