mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
feat(TextArea): adding warn, warnText properties to TextArea
This commit is contained in:
parent
31a11e6800
commit
3ca9fd5657
3 changed files with 49 additions and 2 deletions
|
@ -31,6 +31,10 @@ components: ["TextArea", "TextAreaSkeleton"]
|
|||
|
||||
<TextArea invalid invalidText="Only plain text characters are allowed" labelText="App description" placeholder="Enter a description..." />
|
||||
|
||||
### Warning state
|
||||
|
||||
<TextArea warn warnText="It is recommended to enter a longer description" labelText="App description" placeholder="Enter a description..." />
|
||||
|
||||
### Disabled state
|
||||
|
||||
<TextArea disabled labelText="App description" placeholder="Enter a description..." />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue