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