UNPKG

react-use-hook-modal

Version:

A React Hook library for declaratively managing modals, eliminating the need for state declarations. Props can be passed directly through function calls, simplifying modal control in your application.

6 lines (5 loc) 292 B
export { default as ModalProvider } from './contexts/ModalProvider'; export { default as useModal } from './hooks/useModal'; export { default as useModalsState } from './hooks/useModalsState'; export { default as useClearModals } from './hooks/useClearModals'; export * from './types/modal';