function RichTextField
RichTextField<T extends FieldValues>(unnamed 0: RichTextFieldProps<T>): React.JSX.Element

Renders the editor with its label and the field's error. It must sit under a react-hook-form FormProvider, such as one given useApiForm's result.

Type Parameters

T extends FieldValues

Parameters

Return Type

React.JSX.Element

Usage

import { RichTextField } from "src/components/form/RichTextField.tsx";