Package Exports
- @s-ui/react-atom-textarea
- @s-ui/react-atom-textarea/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@s-ui/react-atom-textarea) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.