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.

2 lines (1 loc) 81 B
export default function useClearModals(): import("..").ModalDispatchContextType;