@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
14 lines • 1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PageSidebarBody = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const page_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Page/page"));
const react_styles_1 = require("@patternfly/react-styles");
const PageSidebarBody = (_a) => {
var { children, className, usePageInsets, isFilled } = _a, props = tslib_1.__rest(_a, ["children", "className", "usePageInsets", "isFilled"]);
return (React.createElement("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, className) }, props), children));
};
exports.PageSidebarBody = PageSidebarBody;
exports.PageSidebarBody.displayName = 'PageSidebarBody';
//# sourceMappingURL=PageSidebarBody.js.map