1 | import { __rest } from "tslib";
|
2 | import * as React from 'react';
|
3 | import { css } from '@patternfly/react-styles';
|
4 | import styles from '@patternfly/react-styles/css/components/Sidebar/sidebar';
|
5 | import { formatBreakpointMods } from '../../helpers/util';
|
6 | export const SidebarPanel = (_a) => {
|
7 | var { className, children, variant = 'default', hasNoBackground, width } = _a, props = __rest(_a, ["className", "children", "variant", "hasNoBackground", "width"]);
|
8 | return (React.createElement("div", Object.assign({ className: css(styles.sidebarPanel, variant !== 'default' && styles.modifiers[variant], hasNoBackground && styles.modifiers.noBackground, formatBreakpointMods(width, styles), className) }, props), children));
|
9 | };
|
10 | SidebarPanel.displayName = 'SidebarPanel';
|
11 |
|
\ | No newline at end of file |