Skip to content

Commit

Permalink
Merge pull request #706 from Wykks/patch-1
Browse files Browse the repository at this point in the history
docs: modal: change onHide to onClose
  • Loading branch information
thejackshelton authored Apr 18, 2024
2 parents 6afa7fe + 3bcfd60 commit 6ae0665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/website/src/routes/docs/headless/modal/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,10 @@ The current solution across framework ecosystems, is to open the Modal eagerly o
info: `PropsOf<'dialog'>`,
},
{
name: 'onHide()$',
name: 'onClose()$',
type: 'function',
info: '() => void',
description: 'An event hook that gets notified whenever the modal gets hidden.',
description: 'An event hook that gets notified whenever the modal gets closed.',
},
{
name: 'onShow()$',
Expand Down

0 comments on commit 6ae0665

Please sign in to comment.