Skip to content

Commit 1feda06

Browse files
authored
Update README.md
1 parent 231b922 commit 1feda06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ For every modal implementation we always need to these binding manually. So, to
360360
```jsx
361361
import NiceModal, {
362362
muiDialog,
363+
muiDialogV5,
363364
antdModal,
364365
antdModalV5,
365366
antdDrawer,
@@ -372,6 +373,9 @@ const modal = useModal();
372373
// For MUI
373374
<Dialog {...muiDialog(modal)}>
374375

376+
// For MUI V5
377+
<Dialog {...muiDialogV5(modal)}>
378+
375379
// For ant.design
376380
<Modal {...antdModal(modal)}>
377381

0 commit comments

Comments
 (0)