UNPKG

870 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.Stack = void 0;
4const tslib_1 = require("tslib");
5const React = tslib_1.__importStar(require("react"));
6const stack_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/layouts/Stack/stack"));
7const react_styles_1 = require("@patternfly/react-styles");
8const Stack = (_a) => {
9 var { hasGutter = false, className = '', children = null, component = 'div' } = _a, props = tslib_1.__rest(_a, ["hasGutter", "className", "children", "component"]);
10 const Component = component;
11 return (React.createElement(Component, Object.assign({}, props, { className: react_styles_1.css(stack_1.default.stack, hasGutter && stack_1.default.modifiers.gutter, className) }), children));
12};
13exports.Stack = Stack;
14exports.Stack.displayName = 'Stack';
15//# sourceMappingURL=Stack.js.map
\No newline at end of file