UNPKG

583 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 StackItem = (_a) => {
6 var { isFilled = false, className = '', children = null } = _a, props = __rest(_a, ["isFilled", "className", "children"]);
7 return (React.createElement("div", Object.assign({}, props, { className: css(styles.stackItem, isFilled && styles.modifiers.fill, className) }), children));
8};
9StackItem.displayName = 'StackItem';
10//# sourceMappingURL=StackItem.js.map
\No newline at end of file