Debian Codegraph @

node/@patternfly/react-core/dist/js/layouts/Stack/StackItem.js

raw
1 "use strict";
2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.StackItem = void 0;
4 const tslib_1 = require("tslib");
5 const jsx_runtime_1 = require("react/jsx-runtime");
6 const stack_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/layouts/Stack/stack"));
7 const react_styles_1 = require("@patternfly/react-styles");
8 const StackItem = (_a) => {
9 var { isFilled = false, className = '', children = null, component = 'div' } = _a, props = tslib_1.__rest(_a, ["isFilled", "className", "children", "component"]);
10 const Component = component;
11 return ((0, jsx_runtime_1.jsx)(Component, Object.assign({}, props, { className: (0, react_styles_1.css)(stack_1.default.stackItem, isFilled && stack_1.default.modifiers.fill, className), children: children })));
12 };
13 exports.StackItem = StackItem;
14 exports.StackItem.displayName = 'StackItem';
15 //# sourceMappingURL=StackItem.js.map