From 3bcfd6047c59b0350654b30000b7d980e0c2efad Mon Sep 17 00:00:00 2001 From: Guillaume de Jabrun Date: Thu, 18 Apr 2024 09:59:21 +0200 Subject: [PATCH] docs: modal: change onHide to onClose --- apps/website/src/routes/docs/headless/modal/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/website/src/routes/docs/headless/modal/index.mdx b/apps/website/src/routes/docs/headless/modal/index.mdx index 276d78045..93eac82e2 100644 --- a/apps/website/src/routes/docs/headless/modal/index.mdx +++ b/apps/website/src/routes/docs/headless/modal/index.mdx @@ -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()$',