Skip to content

Commit

Permalink
fix: update doc type of onDropFromOutside function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
anhdd-kuro authored Nov 26, 2024
1 parent 78d9c27 commit 5438fb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stories/addons/dragAndDrop/props/API.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ A callback fired when user begins to drag an event.

### onDropFromOutside

- type: `function ({ start, end, allDay }) => any`
- type: `function ({ start, end, allDay, resource }) => any`
- <LinkTo kind="addons-drag-and-drop-props" story="on-drop-from-outside">
Example
</LinkTo>
Expand Down
2 changes: 1 addition & 1 deletion stories/addons/dragAndDrop/props/onDropFromOutside.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import LinkTo from '@storybook/addon-links/react'

# onDropFromOutside

- type: `function ({ start, end, allDay }) => any`
- type: `function ({ start, end, allDay, resource }) => any`

A callback fired when user drops an item onto the Calendar from outside of the Calendar. Developers will typically use this method to add new items to the Calendar's <LinkTo kind="props" story="events">events</LinkTo>.

Expand Down

0 comments on commit 5438fb5

Please sign in to comment.