UNPKG

@amsterdam/design-system-react

Version:

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

18 lines (17 loc) 858 B
/** * @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'>; 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>>;