| 1 |
import { __rest } from "tslib"; |
| 2 |
import { jsx as _jsx } from "react/jsx-runtime"; |
| 3 |
import styles from '@patternfly/react-styles/css/components/Drawer/drawer.mjs'; |
| 4 |
import { css } from '@patternfly/react-styles'; |
| 5 |
import { DrawerColorVariant } from './Drawer'; |
| 6 |
export const DrawerSection = (_a) => { |
| 7 |
var { className = '', children, colorVariant = DrawerColorVariant.default, isPlain = false } = _a, props = __rest(_a, ["className", "children", "colorVariant", "isPlain"]); |
| 8 |
return (_jsx("div", Object.assign({ className: css(styles.drawerSection, isPlain && styles.modifiers.plain, colorVariant === DrawerColorVariant.noBackground && styles.modifiers.noBackground, colorVariant === DrawerColorVariant.secondary && styles.modifiers.secondary, className) }, props, { children: children }))); |
| 9 |
}; |
| 10 |
DrawerSection.displayName = 'DrawerSection'; |
| 11 |
//# sourceMappingURL=DrawerSection.js.map |