UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

16 lines 956 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DrawerPanelBody = void 0; const tslib_1 = require("tslib"); const React = tslib_1.__importStar(require("react")); const drawer_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Drawer/drawer")); const react_styles_1 = require("@patternfly/react-styles"); const DrawerPanelBody = (_a) => { var { // eslint-disable-next-line @typescript-eslint/no-unused-vars className = '', children, hasNoPadding = false } = _a, props = tslib_1.__rest(_a, ["className", "children", "hasNoPadding"]); return (React.createElement("div", Object.assign({ className: react_styles_1.css(drawer_1.default.drawerBody, hasNoPadding && drawer_1.default.modifiers.noPadding, className) }, props), children)); }; exports.DrawerPanelBody = DrawerPanelBody; exports.DrawerPanelBody.displayName = 'DrawerPanelBody'; //# sourceMappingURL=DrawerPanelBody.js.map