Skip to content

Commit bf5db55

Browse files
authored
Update README.md
1 parent 1a6f250 commit bf5db55

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,21 @@ Todos
226226
/* do some animation out */
227227
`
228228
}
229+
})
230+
231+
// customize the modal animations idea 2
232+
const { Modal } = useModal({
233+
animateIn: `
234+
/* css for animating in */
235+
`,
236+
animateOut: `
237+
/* css for animating out */
238+
`,
239+
})
240+
241+
// customize the modal animations idea 3
242+
// maybe have some predefined options?
243+
const { Modal } = useModal({
244+
animate: 'fade-in-out', // 'slide-in-top', etc...
245+
})
229246
```

0 commit comments

Comments
 (0)