We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 367d607 commit 97a1261Copy full SHA for 97a1261
docs/src/pages/components/TextArea.svx
@@ -51,6 +51,12 @@ Indicate an invalid state with an error message by setting `invalid` to `true` a
51
52
<TextArea invalid invalidText="Only plain text characters are allowed" labelText="App description" placeholder="Enter a description..." />
53
54
+## Warning state
55
+
56
+Indicate a warning state with a message by setting `warn` to `true` and providing `warnText`.
57
58
+<TextArea warn warnText="This description is shorter than recommended" labelText="App description" placeholder="Enter a description..." />
59
60
## Disabled state
61
62
Disable the textarea to prevent user interaction by setting `disabled` to `true`.
0 commit comments