File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Sources/ComponentsKit/Components Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11import Foundation
22import UIKit
33
4- /// A model that defines the appearance properties for a radio group component.
4+ /// A model that defines the data and appearance properties for a radio group component.
55public struct RadioGroupVM < ID: Hashable > : ComponentVM {
66 /// The scaling factor for the button's press animation, with a value between 0 and 1.
77 ///
Original file line number Diff line number Diff line change 11import Foundation
22
3- /// A model that defines the appearance properties for an item in a segmented control.
3+ /// A model that defines the data and appearance properties for an item in a segmented control.
44public struct SegmentedControlItemVM < ID: Hashable > : Updatable {
55 /// The unique identifier for the segmented control item.
66 public var id : ID
Original file line number Diff line number Diff line change 11import SwiftUI
22import UIKit
33
4- /// A model that defines the appearance properties for a segmented control component.
4+ /// A model that defines the data and appearance properties for a segmented control component.
55public struct SegmentedControlVM < ID: Hashable > : ComponentVM {
66 /// The color of the segmented control.
77 public var color : ComponentColor ?
@@ -19,7 +19,7 @@ public struct SegmentedControlVM<ID: Hashable>: ComponentVM {
1919 /// Defaults to `true`.
2020 public var isEnabled : Bool = true
2121
22- /// A Boolean value indicating whether the segmented control should take the full width of its superview .
22+ /// A Boolean value indicating whether the segmented control should take the full width of its parent view .
2323 ///
2424 /// Defaults to `false`.
2525 public var isFullWidth : Bool = false
Original file line number Diff line number Diff line change 11import SwiftUI
22
3- /// A SwiftUI component with multiple segments that allows users to select them .
3+ /// A SwiftUI component that allows users to choose between multiple segments or options .
44public struct SUSegmentedControl < ID: Hashable > : View {
55 // MARK: Properties
66
Original file line number Diff line number Diff line change 11import AutoLayout
22import UIKit
33
4- /// A UIKit component with multiple segments that allows users to select them .
4+ /// A UIKit component that allows users to choose between multiple segments or options .
55open class UKSegmentedControl < ID: Hashable > : UIView , UKComponent {
66 // MARK: Properties
77
You can’t perform that action at this time.
0 commit comments