Debian Codegraph @

node/@patternfly/react-core/dist/js/components/Page/PageSidebarBody.js

raw
1 "use strict";
2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.PageSidebarBody = void 0;
4 const tslib_1 = require("tslib");
5 const jsx_runtime_1 = require("react/jsx-runtime");
6 const page_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Page/page"));
7 const react_styles_1 = require("@patternfly/react-styles");
8 const PageSidebarBody = (_a) => {
9 var { children, className, usePageInsets, isFilled, isContextSelector } = _a, props = tslib_1.__rest(_a, ["children", "className", "usePageInsets", "isFilled", "isContextSelector"]);
10 return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: (0, react_styles_1.css)(page_1.default.pageSidebarBody, usePageInsets && page_1.default.modifiers.pageInsets, isFilled === false && page_1.default.modifiers.noFill, isFilled === true && page_1.default.modifiers.fill, isContextSelector === true && page_1.default.modifiers.contextSelector, className) }, props, { children: children })));
11 };
12 exports.PageSidebarBody = PageSidebarBody;
13 exports.PageSidebarBody.displayName = 'PageSidebarBody';
14 //# sourceMappingURL=PageSidebarBody.js.map