Textarea
Text fields let users enter text into a UI
import { Field, Textarea,} from '@cerberus/react'
Usage
The Textarea
component displays a textarea field.
Customizing
You can customize the textarea by passing styles directly into the component and is a re-export of the FieldTextarea
primitive.
API
Props
The Textarea
accepts the following props in addition to any native textarea
props:
Name | Default | Description |
---|---|---|
size | This size variant of the textarea |
The Textarea
component also accepts any of the props from the FieldParts.Textarea
primitive.
import { Field, Textarea,} from '@cerberus/react'
Usage
The Textarea
component displays a textarea field.
Customizing
You can customize the textarea by passing styles directly into the component and is a re-export of the FieldTextarea
primitive.
API
Props
The Textarea
accepts the following props in addition to any native textarea
props:
Name | Default | Description |
---|---|---|
size | This size variant of the textarea |
The Textarea
component also accepts any of the props from the FieldParts.Textarea
primitive.
import { Field, Textarea,} from '@cerberus/react'
Usage
The Textarea
component displays a textarea field.
Customizing
You can customize the textarea by passing styles directly into the component and is a re-export of the FieldTextarea
primitive.
API
Props
The Textarea
accepts the following props in addition to any native textarea
props:
Name | Default | Description |
---|---|---|
size | This size variant of the textarea |
The Textarea
component also accepts any of the props from the FieldParts.Textarea
primitive.
import { Field, Textarea,} from '@cerberus/react'
Usage
The Textarea
component displays a textarea field.
Customizing
You can customize the textarea by passing styles directly into the component and is a re-export of the FieldTextarea
primitive.
API
Props
The Textarea
accepts the following props in addition to any native textarea
props:
Name | Default | Description |
---|---|---|
size | This size variant of the textarea |
The Textarea
component also accepts any of the props from the FieldParts.Textarea
primitive.