You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adapt UI provides one theme for text area component with three styles and eight interaction states. Use this component to receive information from the user.
@@ -23,12 +23,13 @@ export default function App() {
23
23
-[Size](#size)
24
24
-[Icon](#icon)
25
25
-[Interactions](#interactions)
26
+
-[Suffix](#suffix)
26
27
-[Props](#props)
27
28
## Themes
28
29
29
30
Adapt UI provides only one `base` theme for TextArea.
@@ -153,6 +154,41 @@ export default function App() {
153
154
154
155
</details>
155
156
157
+
158
+
### Suffix
159
+
160
+
The suffix is a slot at the beginning or suffix position of a component. Here in the Textarea, the suffix slot can be used to bring icons. Suffix itself doesn't have any unique property.
161
+
162
+
Here in the Textarea, we have an icon in the suffix slot. You can change the icon by passing an component to suffix prop.
163
+
The Icon will get hidden when the `loading` prop is true.
0 commit comments