Skip to content

Commit

Permalink
Merge pull request #321 from adevinta/feature/component/spinner_302
Browse files Browse the repository at this point in the history
[Spinner#302] Added missing documentation.
  • Loading branch information
michael-zimmermann authored Aug 21, 2023
2 parents b3d4f4b + 5d2ab4c commit c5e6362
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/Sources/Components/Spinner/UIKit/SpinnerUIView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,19 @@ public final class SpinnerUIView: UIView {
@ScaledUIMetric private var strokeWidth: CGFloat

// MARK: - Public modifiable attributes
/// The current theme
public var theme: Theme {
get { return self.viewModel.theme }
set { self.viewModel.theme = newValue }
}

/// The spinner size (`medium` or `small`)
public var spinnerSize: SpinnerSize {
get { return self.viewModel.spinnerSize }
set { self.viewModel.spinnerSize = newValue }
}

/// The spinner intent
public var intent: SpinnerIntent {
get { return self.viewModel.intent }
set { self.viewModel.intent = newValue}
Expand Down

0 comments on commit c5e6362

Please sign in to comment.