Skip to content

Commit 295957c

Browse files
authored
fix(stories): fix not working links in docs (#2559)
1 parent 2929428 commit 295957c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

stories/props/date.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import LinkTo from '@storybook/addon-links/react'
55

66
- type: `instanceOf(Date)`
77
- default: `new Date()`
8-
- controlled by: <LinkTo kind="props" story="cal-navigate">onNavigate</LinkTo>
8+
- controlled by: <LinkTo kind="props" story="on-navigate">onNavigate</LinkTo>
99

1010
The current date value of the calendar. Determines the visible view range.
1111
If `date` is omitted then the result of <LinkTo kind="props" story="get-now">getNow</LinkTo> is used; otherwise the
1212
current date is used.
1313

14-
This is a controllable prop, when using <LinkTo kind="props" story="cal-navigate">onNavigate</LinkTo>
14+
This is a controllable prop, when using <LinkTo kind="props" story="on-navigate">onNavigate</LinkTo>
1515

1616
<Canvas>
1717
<Story id="props--cal-date" />

stories/props/onSelectSlot.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ _Things To Know:_ When you 'doubleClick', both 'click' and 'doubleClick' will fi
3838
3939
## What's The Difference?
4040
41-
How is this different from <LinkTo kind="props" story="cal-selecting">onSelecting</LinkTo>? That is a very good question. The `onSelecting` method is only available in the Time views (`week`, `work week`, `day`), whereas `onSelectSlot` is also available in the `month` view. The `onSelecting` method allows you to 'cancel' your selection by returning `false`. The `onSelectSlot` method returns a `slotInfo` object, containing a lot of additional information about your selection.
41+
How is this different from <LinkTo kind="props" story="on-selecting">onSelecting</LinkTo>? That is a very good question. The `onSelecting` method is only available in the Time views (`week`, `work week`, `day`), whereas `onSelectSlot` is also available in the `month` view. The `onSelecting` method allows you to 'cancel' your selection by returning `false`. The `onSelectSlot` method returns a `slotInfo` object, containing a lot of additional information about your selection.
4242
4343
<Canvas>
4444
<Story id="props--on-select-slot" />

stories/props/onSelecting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Returning `false` from the handler will prevent a selection.
1212

1313
## What's The Difference?
1414

15-
How is this different from <LinkTo kind="props" story="cal-select-slot">onSelectSlot</LinkTo>? That is a very good question. The `onSelecting` method is only available in the Time views (`week`, `work week`, `day`), whereas `onSelectSlot` is also available in the `month` view. The `onSelecting` method allows you to 'cancel' your selection by returning `false`. The `onSelectSlot` method returns a `slotInfo` object, containing a lot of additional information about your selection.
15+
How is this different from <LinkTo kind="props" story="on-select-slot">onSelectSlot</LinkTo>? That is a very good question. The `onSelecting` method is only available in the Time views (`week`, `work week`, `day`), whereas `onSelectSlot` is also available in the `month` view. The `onSelecting` method allows you to 'cancel' your selection by returning `false`. The `onSelectSlot` method returns a `slotInfo` object, containing a lot of additional information about your selection.
1616

1717
<Canvas>
1818
<Story id="props--on-selecting" />

stories/props/selected.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import LinkTo from '@storybook/addon-links/react'
77

88
The selected event, if any. By default, Big Calendar 'controls' the `selected` (highlighted) event in the display. You can use this prop to control which event is highlighted. The `selected` event must be a object reference to the event within the <LinkTo kind="props" story="events">events</LinkTo> array.
99

10-
Often used in conjunction with <LinkTo kind="props" story="cal-select-event">OnSelectEvent</LinkTo> and/or <LinkTo kind="props" story="cal-double-click-event">onDoubleClickEvent</LinkTo>.
10+
Often used in conjunction with <LinkTo kind="props" story="on-select-event">OnSelectEvent</LinkTo> and/or <LinkTo kind="props" story="on-double-click-event">onDoubleClickEvent</LinkTo>.
1111

1212
<Canvas>
1313
<Story id="props--selected" />

stories/props/view.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import LinkTo from '@storybook/addon-links/react'
55

66
- type: `string`
77
- default: `Views.MONTH (month|week|work_week|day|agenda)`
8-
- controlled by: <LinkTo kind="props" story="cal-view-change">onView</LinkTo>
8+
- controlled by: <LinkTo kind="props" story="on-view">onView</LinkTo>
99

1010
The current view value of the calendar. Determines the visible 'view'.
1111
If `view` is omitted then it is defaulted to 'month'.
1212

13-
This is a controllable prop, when using <LinkTo kind="props" story="cal-view-change">onView</LinkTo>
13+
This is a controllable prop, when using <LinkTo kind="props" story="on-view">onView</LinkTo>
1414

1515
<Canvas>
1616
<Story id="props--view" />

0 commit comments

Comments
 (0)