| 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 StackItem = (_a) => { |
| 6 |
var { isFilled = false, className = '', children = null, component = 'div' } = _a, props = __rest(_a, ["isFilled", "className", "children", "component"]); |
| 7 |
const Component = component; |
| 8 |
return (_jsx(Component, Object.assign({}, props, { className: css(styles.stackItem, isFilled && styles.modifiers.fill, className), children: children }))); |
| 9 |
}; |
| 10 |
StackItem.displayName = 'StackItem'; |
| 11 |
//# sourceMappingURL=StackItem.js.map |