UNPKG

@gechiui/components

Version:
20 lines (19 loc) 661 B
// @ts-nocheck /** * GeChiUI dependencies */ import { createContext } from '@gechiui/element'; import warning from '@gechiui/warning'; const SlotFillContext = createContext({ slots: {}, fills: {}, registerSlot: () => { typeof process !== "undefined" && process.env && process.env.NODE_ENV !== "production" ? warning('Components must be wrapped within `SlotFillProvider`. ' + 'See https://developer.gechiui.com/block-editor/components/slot-fill/') : void 0; }, updateSlot: () => {}, unregisterSlot: () => {}, registerFill: () => {}, unregisterFill: () => {} }); export default SlotFillContext; //# sourceMappingURL=slot-fill-context.js.map