UNPKG

react-hook-form-mantine

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