Skip to main content

<TextAreaInput>

The <TextAreaInput> component provides a multi-line text input field, wrapping Cloudscape's Textarea component.

Usage

import { TextAreaInput } from '@strato-admin/admin';

<TextAreaInput
source="description"
label="Product Description"
rows={4}
placeholder="Describe the product in detail..."
/>;

Props

PropTypeDefaultDescription

rows

The default number of rows. Default: 3

autoFocus

If true, the textarea is automatically focused when the component is mounted.

disabled

If true, the input is disabled.