@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
11 lines • 658 B
JavaScript
import { __rest } from "tslib";
import * as React from 'react';
import styles from '@patternfly/react-styles/css/components/Panel/panel';
import { css } from '@patternfly/react-styles';
import cssMaxHeight from '@patternfly/react-tokens/dist/esm/c_panel__main_MaxHeight';
export const PanelMain = (_a) => {
var { className, children, maxHeight } = _a, props = __rest(_a, ["className", "children", "maxHeight"]);
return (React.createElement("div", Object.assign({ className: css(styles.panelMain, className), style: { [cssMaxHeight.name]: maxHeight } }, props), children));
};
PanelMain.displayName = 'PanelMain';
//# sourceMappingURL=PanelMain.js.map