react-hook-form-mantine
Version:
React hook form wrapper for Mantine components
5 lines (4 loc) • 471 B
TypeScript
import { type FieldValues, type UseControllerProps } from "react-hook-form";
import { type TimeInputProps as $TimeInputProps } from "@mantine/dates";
export type TimeInputProps<T extends FieldValues> = UseControllerProps<T> & Omit<$TimeInputProps, "value" | "defaultValue">;
export declare function TimeInput<T extends FieldValues>({ name, control, defaultValue, rules, shouldUnregister, onChange, ...props }: TimeInputProps<T>): import("react/jsx-runtime").JSX.Element;