Debian Codegraph @

node/@patternfly/react-core/dist/js/components/Panel/PanelMain.js

raw
1 "use strict";
2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.PanelMain = void 0;
4 const tslib_1 = require("tslib");
5 const jsx_runtime_1 = require("react/jsx-runtime");
6 const panel_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Panel/panel"));
7 const react_styles_1 = require("@patternfly/react-styles");
8 const c_panel__main_MaxHeight_1 = tslib_1.__importDefault(require('@patternfly/react-tokens/dist/js/c_panel__main_MaxHeight'));
9 const PanelMain = (_a) => {
10 var { className, children, maxHeight } = _a, props = tslib_1.__rest(_a, ["className", "children", "maxHeight"]);
11 return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: (0, react_styles_1.css)(panel_1.default.panelMain, className), style: { [c_panel__main_MaxHeight_1.default.name]: maxHeight } }, props, { children: children })));
12 };
13 exports.PanelMain = PanelMain;
14 exports.PanelMain.displayName = 'PanelMain';
15 //# sourceMappingURL=PanelMain.js.map