Debian Codegraph @

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

raw
1 import { __rest } from "tslib";
2 import { jsx as _jsx } from "react/jsx-runtime";
3 import styles from '@patternfly/react-styles/css/components/Panel/panel.mjs';
4 import { css } from '@patternfly/react-styles';
5 import cssMaxHeight from '@patternfly/react-tokens/dist/esm/c_panel__main_MaxHeight';
6 export const PanelMain = (_a) => {
7 var { className, children, maxHeight } = _a, props = __rest(_a, ["className", "children", "maxHeight"]);
8 return (_jsx("div", Object.assign({ className: css(styles.panelMain, className), style: { [cssMaxHeight.name]: maxHeight } }, props, { children: children })));
9 };
10 PanelMain.displayName = 'PanelMain';
11 //# sourceMappingURL=PanelMain.js.map