Skip to content

Commit

Permalink
Fix doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Dec 16, 2023
1 parent 4a02b38 commit a9b128b
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions Sources/OpenSwiftUI/Views/Controls/Slider/Slider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ extension Slider {
/// - value: The selected value within `bounds`.
/// - bounds: The range of the valid values. Defaults to `0...1`.
/// - label: A `View` that describes the purpose of the instance. Not all
/// slider styles show the label, but even in those cases, SwiftUI
/// slider styles show the label, but even in those cases, OpenSwiftUI
/// uses the label for accessibility. For example, VoiceOver uses the
/// label to identify the purpose of the slider.
/// - minimumValueLabel: A view that describes `bounds.lowerBound`.
/// - maximumValueLabel: A view that describes `bounds.lowerBound`.
/// - maximumValueLabel: A view that describes `bounds.upperBound`.
/// - onEditingChanged: A callback for when editing begins and ends.
///
/// The `value` of the created instance is equal to the position of
Expand Down Expand Up @@ -156,11 +156,11 @@ extension Slider {
/// - bounds: The range of the valid values. Defaults to `0...1`.
/// - step: The distance between each valid value.
/// - label: A `View` that describes the purpose of the instance. Not all
/// slider styles show the label, but even in those cases, SwiftUI
/// slider styles show the label, but even in those cases, OpenSwiftUI
/// uses the label for accessibility. For example, VoiceOver uses the
/// label to identify the purpose of the slider.
/// - minimumValueLabel: A view that describes `bounds.lowerBound`.
/// - maximumValueLabel: A view that describes `bounds.lowerBound`.
/// - maximumValueLabel: A view that describes `bounds.upperBound`.
/// - onEditingChanged: A callback for when editing begins and ends.
///
/// The `value` of the created instance is equal to the position of
Expand Down Expand Up @@ -200,7 +200,7 @@ extension Slider where ValueLabel == EmptyView {
/// - value: The selected value within `bounds`.
/// - bounds: The range of the valid values. Defaults to `0...1`.
/// - label: A `View` that describes the purpose of the instance. Not all
/// slider styles show the label, but even in those cases, SwiftUI
/// slider styles show the label, but even in those cases, OpenSwiftUI
/// uses the label for accessibility. For example, VoiceOver uses the
/// label to identify the purpose of the slider.
/// - onEditingChanged: A callback for when editing begins and ends.
Expand Down Expand Up @@ -234,7 +234,7 @@ extension Slider where ValueLabel == EmptyView {
/// - bounds: The range of the valid values. Defaults to `0...1`.
/// - step: The distance between each valid value.
/// - label: A `View` that describes the purpose of the instance. Not all
/// slider styles show the label, but even in those cases, SwiftUI
/// slider styles show the label, but even in those cases, OpenSwiftUI
/// uses the label for accessibility. For example, VoiceOver uses the
/// label to identify the purpose of the slider.
/// - onEditingChanged: A callback for when editing begins and ends.
Expand Down Expand Up @@ -343,9 +343,9 @@ extension Slider {
/// - bounds: The range of the valid values. Defaults to `0...1`.
/// - onEditingChanged: A callback for when editing begins and ends.
/// - minimumValueLabel: A view that describes `bounds.lowerBound`.
/// - maximumValueLabel: A view that describes `bounds.lowerBound`.
/// - maximumValueLabel: A view that describes `bounds.upperBound`.
/// - label: A `View` that describes the purpose of the instance. Not all
/// slider styles show the label, but even in those cases, SwiftUI
/// slider styles show the label, but even in those cases, OpenSwiftUI
/// uses the label for accessibility. For example, VoiceOver uses the
/// label to identify the purpose of the slider.
///
Expand Down Expand Up @@ -385,9 +385,9 @@ extension Slider {
/// - step: The distance between each valid value.
/// - onEditingChanged: A callback for when editing begins and ends.
/// - minimumValueLabel: A view that describes `bounds.lowerBound`.
/// - maximumValueLabel: A view that describes `bounds.lowerBound`.
/// - maximumValueLabel: A view that describes `bounds.upperBound`.
/// - label: A `View` that describes the purpose of the instance. Not all
/// slider styles show the label, but even in those cases, SwiftUI
/// slider styles show the label, but even in those cases, OpenSwiftUI
/// uses the label for accessibility. For example, VoiceOver uses the
/// label to identify the purpose of the slider.
///
Expand Down Expand Up @@ -430,7 +430,7 @@ extension Slider where ValueLabel == EmptyView {
/// - bounds: The range of the valid values. Defaults to `0...1`.
/// - onEditingChanged: A callback for when editing begins and ends.
/// - label: A `View` that describes the purpose of the instance. Not all
/// slider styles show the label, but even in those cases, SwiftUI
/// slider styles show the label, but even in those cases, OpenSwiftUI
/// uses the label for accessibility. For example, VoiceOver uses the
/// label to identify the purpose of the slider.
///
Expand Down Expand Up @@ -459,7 +459,7 @@ extension Slider where ValueLabel == EmptyView {
label: label()
)
}

/// Creates a slider to select a value from a given range, subject to a
/// step increment, which displays the provided label.
///
Expand All @@ -469,7 +469,7 @@ extension Slider where ValueLabel == EmptyView {
/// - step: The distance between each valid value.
/// - onEditingChanged: A callback for when editing begins and ends.
/// - label: A `View` that describes the purpose of the instance. Not all
/// slider styles show the label, but even in those cases, SwiftUI
/// slider styles show the label, but even in those cases, OpenSwiftUI
/// uses the label for accessibility. For example, VoiceOver uses the
/// label to identify the purpose of the slider.
///
Expand Down

0 comments on commit a9b128b

Please sign in to comment.