UNPKG

@patternfly/react-core

Version:

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

14 lines 851 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CardActions = void 0; const tslib_1 = require("tslib"); const React = tslib_1.__importStar(require("react")); const react_styles_1 = require("@patternfly/react-styles"); const card_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Card/card")); const CardActions = (_a) => { var { children = null, className = '', hasNoOffset = false } = _a, props = tslib_1.__rest(_a, ["children", "className", "hasNoOffset"]); return (React.createElement("div", Object.assign({ className: react_styles_1.css(card_1.default.cardActions, hasNoOffset && card_1.default.modifiers.noOffset, className) }, props), children)); }; exports.CardActions = CardActions; exports.CardActions.displayName = 'CardActions'; //# sourceMappingURL=CardActions.js.map