Skip to content

Commit 3bcfd60

Browse files
authored
docs: modal: change onHide to onClose
1 parent 2aa06d2 commit 3bcfd60

File tree

1 file changed

+2
-2
lines changed
  • apps/website/src/routes/docs/headless/modal

1 file changed

+2
-2
lines changed

apps/website/src/routes/docs/headless/modal/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,10 @@ The current solution across framework ecosystems, is to open the Modal eagerly o
271271
info: `PropsOf<'dialog'>`,
272272
},
273273
{
274-
name: 'onHide()$',
274+
name: 'onClose()$',
275275
type: 'function',
276276
info: '() => void',
277-
description: 'An event hook that gets notified whenever the modal gets hidden.',
277+
description: 'An event hook that gets notified whenever the modal gets closed.',
278278
},
279279
{
280280
name: 'onShow()$',

0 commit comments

Comments
 (0)