UNPKG

react-hook-form-mantine

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