We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2d62a4 commit 0e882d4Copy full SHA for 0e882d4
docs/documentation/components/dialog.mdx
@@ -216,7 +216,7 @@ Use the `onBeforeClose` prop to handle overlay/close clicks. It is executed
216
when dialog is about to close. Return `false` to prevent the sheet from closing.
217
218
```jsx
219
-function PreserveBodyScrollingDialogExample() {
+function OnBeforeCloseExample() {
220
const [isShown, setIsShown] = React.useState(false)
221
222
return (
0 commit comments