UNPKG

ra-core

Version:

Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React

11 lines 421 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useStoreContext = void 0; const react_1 = require("react"); const StoreContext_1 = require("./StoreContext.cjs"); /** * Get the Store stored in the StoreContext */ const useStoreContext = () => (0, react_1.useContext)(StoreContext_1.StoreContext); exports.useStoreContext = useStoreContext; //# sourceMappingURL=useStoreContext.js.map