UNPKG

react-hook-form-mantine

Version:
5 lines (4 loc) 377 B
import { UseControllerProps, FieldValues } from 'react-hook-form'; import { InputProps as $InputProps } from '@mantine/core'; export type InputProps<T extends FieldValues> = UseControllerProps<T> & $InputProps; export declare function Input<T extends FieldValues>({ name, control, defaultValue, rules, shouldUnregister, ...props }: InputProps<T>): import("react").JSX.Element;