Usage
SwiftUI
M3ERadioButton(selected: plan == .pro) { plan = .pro }API
| Property | SwiftUI | Description |
|---|---|---|
| selected | selected: Bool | State; you own the group logic. |
Guidelines
- For more than five options, use a menu or a list.
Use for two to five mutually exclusive options that should all be visible.
M3ERadioButton(selected: plan == .pro) { plan = .pro }| Property | SwiftUI | Description |
|---|---|---|
| selected | selected: Bool | State; you own the group logic. |