UNPKG

@wordpress/components

Version:
18 lines (17 loc) 385 B
// packages/components/src/context/utils.js import { CONNECTED_NAMESPACE, COMPONENT_NAMESPACE } from "./constants"; function getNamespace(componentName) { return { [COMPONENT_NAMESPACE]: componentName }; } function getConnectedNamespace() { return { [CONNECTED_NAMESPACE]: true }; } export { getConnectedNamespace, getNamespace }; //# sourceMappingURL=utils.js.map