UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

21 lines (20 loc) 1 kB
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { TextareaHTMLAttributes } from 'react'; export type TextAreaProps = { /** Whether the value fails a validation rule. */ invalid?: boolean; /** Allows the user to resize the text box. The default is resizing in both directions. */ resize?: 'none' | 'horizontal' | 'vertical'; } & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'aria-invalid'>; /** * @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-text-area--docs Text Area docs at Amsterdam Design System} */ export declare const TextArea: import("react").ForwardRefExoticComponent<{ /** Whether the value fails a validation rule. */ invalid?: boolean; /** Allows the user to resize the text box. The default is resizing in both directions. */ resize?: "none" | "horizontal" | "vertical"; } & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "aria-invalid"> & import("react").RefAttributes<HTMLTextAreaElement>>;