From eac75227ad7be3e0736f0eeb42cd141c9275c8e0 Mon Sep 17 00:00:00 2001 From: rtemision <3108511+rtemision@users.noreply.github.com> Date: Wed, 27 Jul 2022 19:11:14 +0700 Subject: [PATCH] Fix overlay docs: correct events names (#1751) --- docs/fundamentals/systems/overlays/use-cases.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fundamentals/systems/overlays/use-cases.md b/docs/fundamentals/systems/overlays/use-cases.md index 4a2be2085..0e082ea68 100644 --- a/docs/fundamentals/systems/overlays/use-cases.md +++ b/docs/fundamentals/systems/overlays/use-cases.md @@ -420,7 +420,7 @@ export const openedState = () => { ## Intercepting open/close It is possible to intercept the open/close process by calling `.preventDefault()` on -the `before-close` or `before-open` events. +the `before-closed` or `before-opened` events. ```js preview-story export const interceptingOpenClose = () => {