UNPKG

react-hook-form-mantine

Version:
5 lines (4 loc) 471 B
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;