mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
13 lines
425 B
TypeScript
13 lines
425 B
TypeScript
import React from "react";
|
|
import type { UseFormRegister, RegisterOptions, FieldError } from "react-hook-form";
|
|
|
|
export interface Props extends React.ComponentPropsWithoutRef<"textarea"> {
|
|
label?: string;
|
|
value?: string | number | readonly string[];
|
|
name: string;
|
|
register?: UseFormRegister<any>;
|
|
mode?: "primary" | "transparent" | "secondary" | "disabled";
|
|
validations?: RegisterOptions;
|
|
error?: FieldError;
|
|
}
|