UNPKG

react-hook-form-mantine

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