WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit d70652e

Browse files
committed
[*] DatePicker: fix docs
1 parent afa968a commit d70652e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

primitives/src/date_picker.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ pub fn DatePicker(props: DatePickerProps) -> Element {
169169
}
170170
}
171171

172-
/// The context provided by the [`RangeCalendar`] component to its children.
172+
/// The context provided by the [`DateRangePicker`] component to its children.
173173
#[derive(Copy, Clone)]
174174
pub struct DateRangePickerContext {
175175
// Currently selected date range
@@ -397,7 +397,7 @@ pub fn DatePickerPopover(props: DatePickerPopoverProps) -> Element {
397397
}
398398
}
399399

400-
/// The props for the [`Calendar`] and [`RangeCalendar`] component.
400+
/// The props for the Calendar component.
401401
#[allow(unpredictable_function_pointer_comparisons)]
402402
#[derive(Props, Clone, PartialEq)]
403403
pub struct DatePickerCalendarProps<T: Properties + PartialEq> {

0 commit comments

Comments
 (0)