1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.CardBody = void 0;
|
4 | const tslib_1 = require("tslib");
|
5 | const React = tslib_1.__importStar(require("react"));
|
6 | const card_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Card/card"));
|
7 | const react_styles_1 = require("@patternfly/react-styles");
|
8 | const CardBody = (_a) => {
|
9 | var { children = null, className = '', component = 'div', isFilled = true } = _a, props = tslib_1.__rest(_a, ["children", "className", "component", "isFilled"]);
|
10 | const Component = component;
|
11 | return (React.createElement(Component, Object.assign({ className: react_styles_1.css(card_1.default.cardBody, !isFilled && card_1.default.modifiers.noFill, className) }, props), children));
|
12 | };
|
13 | exports.CardBody = CardBody;
|
14 | exports.CardBody.displayName = 'CardBody';
|
15 |
|
\ | No newline at end of file |