@wordpress/components
Version:
UI components for WordPress.
25 lines (24 loc) • 565 B
JavaScript
import { observableMap } from "@wordpress/compose";
import { createContext } from "@wordpress/element";
const initialValue = {
slots: observableMap(),
fills: observableMap(),
registerSlot: () => {
},
unregisterSlot: () => {
},
registerFill: () => {
},
unregisterFill: () => {
},
updateFill: () => {
}
};
const SlotFillContext = createContext(initialValue);
SlotFillContext.displayName = "SlotFillContext";
var context_default = SlotFillContext;
export {
SlotFillContext,
context_default as default
};
//# sourceMappingURL=context.js.map