UNPKG

785 BJavaScriptView Raw
1import { __rest } from "tslib";
2import * as React from 'react';
3import styles from '@patternfly/react-styles/css/components/Drawer/drawer';
4import { css } from '@patternfly/react-styles';
5import { DrawerColorVariant } from './Drawer';
6export const DrawerSection = (_a) => {
7 var {
8 // eslint-disable-next-line @typescript-eslint/no-unused-vars
9 className = '', children, colorVariant = DrawerColorVariant.default } = _a, props = __rest(_a, ["className", "children", "colorVariant"]);
10 return (React.createElement("div", Object.assign({ className: css(styles.drawerSection, colorVariant === DrawerColorVariant.light200 && styles.modifiers.light_200, className) }, props), children));
11};
12DrawerSection.displayName = 'DrawerSection';
13//# sourceMappingURL=DrawerSection.js.map
\No newline at end of file