vds_ios/VDS/Components/RadioButton/RadioButtonGroupModel.swift

24 lines
631 B
Swift

//
// RadioButtonGroupModel.swift
// VDS
//
// Created by Matt Bruce on 8/11/22.
//
import Foundation
public struct DefaultRadioButtonGroupModel: SelectorGroupModel {
public typealias SelectorType = DefaultRadioButtonModel
public var id: UUID = UUID()
public var inputId: String?
public var value: AnyHashable?
public var surface: Surface = .light
public var disabled: Bool = false
public var selectedModel: DefaultRadioButtonModel?
public var selectors: [SelectorType]
public init() { selectors = [] }
public init(selectors: [SelectorType]){
self.selectors = selectors
}
}