From 4d5f1503bb4c704dd3c74f91fc2d61719862f789 Mon Sep 17 00:00:00 2001 From: wangxiaolei Date: Fri, 22 Mar 2019 06:35:17 +0800 Subject: [PATCH] [datetime] docs: fix react-day-picker API hyperlink (#3435) --- packages/datetime/src/dateInput.tsx | 2 +- packages/datetime/src/datePicker.tsx | 2 +- packages/datetime/src/datePickerCore.tsx | 4 ++-- packages/datetime/src/dateRangeInput.tsx | 2 +- packages/datetime/src/dateRangePicker.tsx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/datetime/src/dateInput.tsx b/packages/datetime/src/dateInput.tsx index 0a8f13cc7a..1d4fbd3865 100644 --- a/packages/datetime/src/dateInput.tsx +++ b/packages/datetime/src/dateInput.tsx @@ -51,7 +51,7 @@ export interface IDateInputProps extends IDatePickerBaseProps, IDateFormatProps, /** * Props to pass to ReactDayPicker. See API documentation - * [here](http://react-day-picker.js.org/docs/api-daypicker.html). + * [here](http://react-day-picker.js.org/api/DayPicker). * * The following props are managed by the component and cannot be configured: * `canChangeMonth`, `captionElement`, `fromMonth` (use `minDate`), `month` (use diff --git a/packages/datetime/src/datePicker.tsx b/packages/datetime/src/datePicker.tsx index 389bf6d574..5acd8047c3 100644 --- a/packages/datetime/src/datePicker.tsx +++ b/packages/datetime/src/datePicker.tsx @@ -26,7 +26,7 @@ export interface IDatePickerProps extends IDatePickerBaseProps, IProps { /** * Props to pass to ReactDayPicker. See API documentation - * [here](http://react-day-picker.js.org/docs/api-daypicker.html). + * [here](http://react-day-picker.js.org/api/DayPicker). * * The following props are managed by the component and cannot be configured: * `canChangeMonth`, `captionElement`, `fromMonth` (use `minDate`), `month` (use diff --git a/packages/datetime/src/datePickerCore.tsx b/packages/datetime/src/datePickerCore.tsx index b7b0cf4314..e86578e5ca 100644 --- a/packages/datetime/src/datePickerCore.tsx +++ b/packages/datetime/src/datePickerCore.tsx @@ -12,7 +12,7 @@ import { ITimePickerProps, TimePrecision } from "./timePicker"; // also we need an interface for the dictionary without `today` and `outside` injected by r-d-p. /** * Collection of functions that determine which modifier classes get applied to which days. - * See the [**react-day-picker** documentation](http://react-day-picker.js.org/Modifiers.html) to learn more. + * See the [**react-day-picker** documentation](http://react-day-picker.js.org/api/ModifiersUtils) to learn more. */ export interface IDatePickerModifiers { [name: string]: (date: Date) => boolean; @@ -50,7 +50,7 @@ export interface IDatePickerBaseProps { /** * Collection of functions that determine which modifier classes get applied to which days. * Each function should accept a `Date` and return a boolean. - * See the [**react-day-picker** documentation](http://react-day-picker.js.org/Modifiers.html) to learn more. + * See the [**react-day-picker** documentation](http://react-day-picker.js.org/api/ModifiersUtils) to learn more. */ modifiers?: IDatePickerModifiers; diff --git a/packages/datetime/src/dateRangeInput.tsx b/packages/datetime/src/dateRangeInput.tsx index 1925d10d31..b93f569450 100644 --- a/packages/datetime/src/dateRangeInput.tsx +++ b/packages/datetime/src/dateRangeInput.tsx @@ -56,7 +56,7 @@ export interface IDateRangeInputProps extends IDatePickerBaseProps, IDateFormatP /** * Props to pass to ReactDayPicker. See API documentation - * [here](http://react-day-picker.js.org/docs/api-daypicker.html). + * [here](http://react-day-picker.js.org/api/DayPicker). * * The following props are managed by the component and cannot be configured: * `canChangeMonth`, `captionElement`, `numberOfMonths`, `fromMonth` (use diff --git a/packages/datetime/src/dateRangePicker.tsx b/packages/datetime/src/dateRangePicker.tsx index d6669d6971..e97abfe034 100644 --- a/packages/datetime/src/dateRangePicker.tsx +++ b/packages/datetime/src/dateRangePicker.tsx @@ -59,7 +59,7 @@ export interface IDateRangePickerProps extends IDatePickerBaseProps, IProps { contiguousCalendarMonths?: boolean; /** * Props to pass to ReactDayPicker. See API documentation - * [here](http://react-day-picker.js.org/docs/api-daypicker.html). + * [here](http://react-day-picker.js.org/api/DayPicker). * * The following props are managed by the component and cannot be configured: * `canChangeMonth`, `captionElement`, `numberOfMonths`, `fromMonth` (use