Skip to content

Commit

Permalink
[datetime] docs: fix react-day-picker API hyperlink (#3435)
Browse files Browse the repository at this point in the history
  • Loading branch information
fatelei authored and adidahiya committed Mar 21, 2019
1 parent ec81076 commit 4d5f150
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/datetime/src/dateInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/datetime/src/datePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/datetime/src/datePickerCore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion packages/datetime/src/dateRangeInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/datetime/src/dateRangePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 4d5f150

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[datetime] docs: fix react-day-picker API hyperlink (#3435)

Previews: documentation | landing | table

Please sign in to comment.