| 1 |
import { __rest } from "tslib"; |
| 2 |
import { jsx as _jsx } from "react/jsx-runtime"; |
| 3 |
import styles from '@patternfly/react-styles/css/layouts/Stack/stack.mjs'; |
| 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 (_jsx(Component, Object.assign({}, props, { className: css(styles.stack, hasGutter && styles.modifiers.gutter, className), children: children }))); |
| 9 |
}; |
| 10 |
Stack.displayName = 'Stack'; |
| 11 |
//# sourceMappingURL=Stack.js.map |