@forge/react
11.12.011.13.0-next.0
out/components/global/index.js~
out/components/global/index.jsModified+4−17
Index: package/out/components/global/index.js
===================================================================
--- package/out/components/global/index.js
+++ package/out/components/global/index.js
@@ -2,25 +2,12 @@
Object.defineProperty(exports, "__esModule", { value: true });
exports.Global = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const GlobalPrimitive = 'Global';
-const GlobalMainPrimitive = 'Global.Main';
-const GlobalSidebarPrimitive = 'Global.Sidebar';
-const GlobalExpandMenuItemPrimitive = 'Global.ExpandMenuItem';
-const GlobalLinkMenuItemPrimitive = 'Global.LinkMenuItem';
-// Top level component
const Global = (props) => {
return (0, jsx_runtime_1.jsx)(GlobalPrimitive, { children: props.children });
};
exports.Global = Global;
-exports.Global.Main = (props) => {
- return (0, jsx_runtime_1.jsx)(GlobalMainPrimitive, { children: props.children });
-};
-exports.Global.Sidebar = ({ children, forYouUrl }) => {
- return (0, jsx_runtime_1.jsx)(GlobalSidebarPrimitive, { forYouUrl: forYouUrl, children: children });
-};
-exports.Global.ExpandMenuItem = ({ label, children }) => {
- return (0, jsx_runtime_1.jsx)(GlobalExpandMenuItemPrimitive, { label: label, children: children });
-};
-exports.Global.LinkMenuItem = (props) => {
- return (0, jsx_runtime_1.jsx)(GlobalLinkMenuItemPrimitive, { ...props });
-};
+exports.Global.Main = 'Global.Main';
+exports.Global.Sidebar = 'Global.Sidebar';
+exports.Global.LinkMenuItem = 'Global.LinkMenuItem';
+exports.Global.ExpandMenuItem = 'Global.ExpandMenuItem';