@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
16 lines (15 loc) • 953 B
JavaScript
'use client';
import { withWebComponent } from '@ui5/webcomponents-react-base';
/**
* The `TextArea` component is used to enter multiple rows of text.
*
* When empty, it can hold a placeholder similar to a `Input`.
* You can define the rows of the `TextArea` and also determine specific behavior when handling long texts.
*
*
*
* __Note:__ This is a UI5 Web Component! [TextArea UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/TextArea) | [Repository](https://github.com/UI5/webcomponents)
*/
const TextArea = withWebComponent('ui5-textarea', ['accessibleDescription', 'accessibleDescriptionRef', 'accessibleName', 'accessibleNameRef', 'growingMaxRows', 'maxlength', 'name', 'placeholder', 'rows', 'value', 'valueState'], ['disabled', 'growing', 'readonly', 'required', 'showExceededText'], ['valueStateMessage'], ['change', 'input', 'scroll', 'select']);
TextArea.displayName = 'TextArea';
export { TextArea };