mui-custom-form
Version:
A versatile React form component utilizing MUI components and react-hook-form.
10 lines (9 loc) • 405 B
TypeScript
import React from "react";
import { FieldValues, Path, UseFormReturn } from "react-hook-form";
import { ICustomField } from "../../types";
interface TextareaFieldProps<T extends FieldValues> {
field: ICustomField<Path<T>>;
formControl: UseFormReturn<T>;
}
export declare const TextareaField: <T extends FieldValues>({ field, formControl, }: TextareaFieldProps<T>) => React.JSX.Element;
export {};