react-hook-popup
Version:
Easily manage popups like alerts and modals in React with a single hook
8 lines (7 loc) • 351 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.consts = void 0;
exports.consts = {
CONTEXT_ERROR_MESSAGE: 'In order to use react-hook-popup hooks, you must wrap your application in <PopupProvider>',
UNFOUND_POPUP: function (key) { return "Attempted to act on a non-existing popup with key: " + key; },
};