Skip to content

Commit f3df007

Browse files
docs: update phrasing for onSelectSlot parameter docs (jquense#2748)
Co-authored-by: davidju <[email protected]>
1 parent 10cfe84 commit f3df007

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

stories/props/API.stories.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ _Things To Know:_ When you 'doubleClick', both 'click' and 'doubleClick' will fi
375375
376376
#### What's The Difference from onSelecting?
377377
378-
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.
378+
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 provides a parameter, `slotInfo` object, containing a lot of additional information about your selection.
379379
380380
### onSelectEvent
381381
@@ -417,7 +417,7 @@ Returning `false` from the handler will prevent a selection.
417417
418418
#### What's The Difference from onSelectSlot?
419419
420-
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.
420+
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 provides a parameter, `slotInfo` object, containing a lot of additional information about your selection.
421421
422422
### onShowMore
423423

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="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.
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 provides a parameter, `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="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.
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 provides a parameter, `slotInfo` object, containing a lot of additional information about your selection.
1616

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

0 commit comments

Comments
 (0)