SwitchListView SwiftUI - admiral-team/admiralui-ios GitHub Wiki
Class
A view object with switch control.
Declaration
public struct SwitchListView: View, TralingListViewComponent
Overview
A cell with switch control at the right edge.
Configure a SwitchListView:
SwitchListView(isSwitchSelected: .constant(true))
SwitchListView(isSwitchSelected: .constant(false))
Contribution
You can help us to find bugs or ask us to add features.
- To start
issueplease use ready-made templates. - To make changes to the repository, you need to create a
forkof the project, make changes to the code and create apull requestin our project. You can read more about this in the Github documentation.