1 | import { __rest } from "tslib";
|
2 | import * as React from 'react';
|
3 | import styles from '@patternfly/react-styles/css/layouts/Stack/stack';
|
4 | import { css } from '@patternfly/react-styles';
|
5 | export 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 | };
|
10 | Stack.displayName = 'Stack';
|
11 |
|
\ | No newline at end of file |