feat(TextArea): adding warn, warnText properties to TextArea

This commit is contained in:
István Pató 2022-01-08 13:24:15 +01:00
commit 3ca9fd5657
No known key found for this signature in database
GPG key ID: 3A842123BFF8E969
3 changed files with 49 additions and 2 deletions

View file

@ -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..." />