TextArea
A multi-line text input field.
s0 add textarea
Usage
@State private var bio = ""
S0.TextArea("Bio", text: $bio, placeholder: "Tell us about yourself")S0.TextArea(text: $notes, placeholder: "Notes...", minHeight: 120)Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| label | String? | nil | Optional label above the text area. |
| text | Binding<String> | — | Binding to the text value. |
| placeholder | String | "" | Placeholder text. |
| minHeight | CGFloat | 80 | Minimum height of the text area. |