| 1 |
import { __rest } from "tslib"; |
| 2 |
import { jsx as _jsx } from "react/jsx-runtime"; |
| 3 |
import { css } from '@patternfly/react-styles'; |
| 4 |
import styles from '@patternfly/react-styles/css/components/Sidebar/sidebar.mjs'; |
| 5 |
export const SidebarContent = (_a) => { |
| 6 |
var { className, children, hasNoBackground, hasPadding, backgroundVariant = 'default' } = _a, props = __rest(_a, ["className", "children", "hasNoBackground", "hasPadding", "backgroundVariant"]); |
| 7 |
return (_jsx("div", Object.assign({ className: css(styles.sidebarContent, hasNoBackground && styles.modifiers.noBackground, hasPadding && styles.modifiers.padding, backgroundVariant !== 'default' && styles.modifiers[backgroundVariant], className) }, props, { children: children }))); |
| 8 |
}; |
| 9 |
SidebarContent.displayName = 'SidebarContent'; |
| 10 |
//# sourceMappingURL=SidebarContent.js.map |