RadioControl SwiftUI - admiral-team/admiralui-ios GitHub Wiki

Struct

The appearance and behavior of a toggle.


Declaration

public struct RadioControl: View

Overview

Used to select between a number of mutually exclusive values. When one radio button in a group is selected, the other radio buttons in the group cease to be selected.

Live example

Configure a RadioControl

RadioControl(
   isSelected: .constant(true),
   text: "Your name of RadioControl"
)

Contribution

You can help us to find bugs or ask us to add features.

  • To start issue please use ready-made templates.
  • To make changes to the repository, you need to create a fork of the project, make changes to the code and create a pull request in our project. You can read more about this in the Github documentation.