diff --git a/stories/props/date.mdx b/stories/props/date.mdx index f551d2feb..cfaf26bc7 100644 --- a/stories/props/date.mdx +++ b/stories/props/date.mdx @@ -5,13 +5,13 @@ import LinkTo from '@storybook/addon-links/react' - type: `instanceOf(Date)` - default: `new Date()` -- controlled by: onNavigate +- controlled by: onNavigate The current date value of the calendar. Determines the visible view range. If `date` is omitted then the result of getNow is used; otherwise the current date is used. -This is a controllable prop, when using onNavigate +This is a controllable prop, when using onNavigate diff --git a/stories/props/onSelectSlot.mdx b/stories/props/onSelectSlot.mdx index 3dcd8cf67..3ad902179 100644 --- a/stories/props/onSelectSlot.mdx +++ b/stories/props/onSelectSlot.mdx @@ -38,7 +38,7 @@ _Things To Know:_ When you 'doubleClick', both 'click' and 'doubleClick' will fi ## What's The Difference? -How is this different from onSelecting? 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. +How is this different from onSelecting? 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. diff --git a/stories/props/onSelecting.mdx b/stories/props/onSelecting.mdx index 62b71c10b..a032aaa33 100644 --- a/stories/props/onSelecting.mdx +++ b/stories/props/onSelecting.mdx @@ -12,7 +12,7 @@ Returning `false` from the handler will prevent a selection. ## What's The Difference? -How is this different from onSelectSlot? 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. +How is this different from onSelectSlot? 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. diff --git a/stories/props/selected.mdx b/stories/props/selected.mdx index 9d3c9366e..1ed39bf00 100644 --- a/stories/props/selected.mdx +++ b/stories/props/selected.mdx @@ -7,7 +7,7 @@ import LinkTo from '@storybook/addon-links/react' 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 events array. -Often used in conjunction with OnSelectEvent and/or onDoubleClickEvent. +Often used in conjunction with OnSelectEvent and/or onDoubleClickEvent. diff --git a/stories/props/view.mdx b/stories/props/view.mdx index 821dcb993..d3f9d53d4 100644 --- a/stories/props/view.mdx +++ b/stories/props/view.mdx @@ -5,12 +5,12 @@ import LinkTo from '@storybook/addon-links/react' - type: `string` - default: `Views.MONTH (month|week|work_week|day|agenda)` -- controlled by: onView +- controlled by: onView The current view value of the calendar. Determines the visible 'view'. If `view` is omitted then it is defaulted to 'month'. -This is a controllable prop, when using onView +This is a controllable prop, when using onView