Skip to content

Commit cb850f3

Browse files
committed
Update some doc comments
1 parent be5c507 commit cb850f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftCrossUI/Views/DatePicker.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public struct DatePickerComponents: OptionSet, Sendable {
3434
}
3535

3636
public enum DatePickerStyle: Sendable, Hashable {
37-
/// A date input chosen by the backend.
37+
/// A date input that adapts to the current platform and context.
3838
case automatic
3939

4040
/// A date input that shows a calendar grid.
@@ -65,7 +65,7 @@ public struct DatePicker<Label: View> {
6565
/// - range: The range of dates to display. The backend takes this as a hint but it is not
6666
/// necessarily enforced. As such this parameter should be treated as an aid to validation
6767
/// rather than a replacement for it.
68-
/// - displayedComponents: What parts of the date/time to display in the input.
68+
/// - displayedComponents: Which parts of the date/time to display in the input.
6969
/// - label: The view to be shown next to the date input.
7070
public nonisolated init(
7171
selection: Binding<Date>,
@@ -86,7 +86,7 @@ public struct DatePicker<Label: View> {
8686
/// - range: The range of dates to display. The backend takes this as a hint but it is not
8787
/// necessarily enforced. As such this parameter should be treated as an aid to validation
8888
/// rather than a replacement for it.
89-
/// - displayedComponents: What parts of the date/time to display in the input.
89+
/// - displayedComponents: Which parts of the date/time to display in the input.
9090
public nonisolated init(
9191
_ label: String,
9292
selection: Binding<Date>,

0 commit comments

Comments
 (0)