UNPKG

637 BJavaScriptView Raw
1import { __rest } from "tslib";
2import * as React from 'react';
3import styles from '@patternfly/react-styles/css/layouts/Stack/stack';
4import { css } from '@patternfly/react-styles';
5export const Stack = (_a) => {
6 var { hasGutter = false, className = '', children = null, component = 'div' } = _a, props = __rest(_a, ["hasGutter", "className", "children", "component"]);
7 const Component = component;
8 return (React.createElement(Component, Object.assign({}, props, { className: css(styles.stack, hasGutter && styles.modifiers.gutter, className) }), children));
9};
10Stack.displayName = 'Stack';
11//# sourceMappingURL=Stack.js.map
\No newline at end of file