https://github.com/rwson/use-modal
the eaist way to open/close modals and pass [new]props to modals
https://github.com/rwson/use-modal
component hooks modal react vue vue3
Last synced: over 1 year ago
JSON representation
the eaist way to open/close modals and pass [new]props to modals
- Host: GitHub
- URL: https://github.com/rwson/use-modal
- Owner: rwson
- License: mit
- Created: 2023-05-05T09:20:59.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-01T02:19:52.000Z (about 3 years ago)
- Last Synced: 2024-05-29T13:52:58.467Z (about 2 years ago)
- Topics: component, hooks, modal, react, vue, vue3
- Language: TypeScript
- Homepage:
- Size: 515 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @usemodals

> the eaist way to open/close modals and pass props to modals, or register an dynmaic modal and you can use these modals globally, support React, Vue, Vue3
## Examples
- [React, full support](https://github.com/rwson/use-modal/tree/main/examples/react)
- [Vue3, full support](https://github.com/rwson/use-modal/tree/main/examples/vue3)
- [Vue2, Composition API is not supported](https://github.com/rwson/use-modal/tree/main/examples/vue)