@hmlr/govuk-react-components-library
Version:
These are common component use for React applications based on GDS and govuk-frontend
15 lines (14 loc) • 443 B
TypeScript
import { TextareaHTMLAttributes } from "react";
import { ErrorMessageProps } from "../ErrorMessage/ErrorMessage.types";
export interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
className?: string;
"aria-describedby"?: string;
errorMessage?: ErrorMessageProps;
formGroup?: {
className?: string;
[key: string]: unknown;
};
hint?: object;
label?: object;
id?: string;
}