@wordpress/components
Version:
UI components for WordPress.
26 lines (23 loc) • 540 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.NavigatorContext = void 0;
var _element = require("@wordpress/element");
/**
* WordPress dependencies
*/
/**
* Internal dependencies
*/
const initialContextValue = {
location: {},
goTo: () => {},
goBack: () => {},
goToParent: () => {},
addScreen: () => {},
removeScreen: () => {},
params: {}
};
const NavigatorContext = exports.NavigatorContext = (0, _element.createContext)(initialContextValue);
//# sourceMappingURL=context.js.map