@s-ui/react-atom-textarea
v2.23.0
Published
AtomTextarea a component that wraps a textarea displaying the text passed in the `value` prop
Maintainers
Readme
AtomTextarea
AtomTextarea a component that wraps a textarea displaying the text passed in the value prop
Installation
$ npm install @s-ui/react-atom-textarea --saveUsage
After importing the component AtomTextarea like this
import AtomTextarea from '@s-ui/react-atom-textarea'Basic usage
<AtomTextarea value="Saul Bass on failure" />Long size
<AtomTextarea size="long" value="Saul Bass on failure: Failure is built into creativity" />With placeholder
<AtomTextarea placeholder="Write something cool here..." />Textarea States
The component can receive a success, error or alert state, to highlight his border with colors defined on sui-theme.
<AtomTextarea state="success" />Find full description and more examples in the demo page.
