Debian Codegraph @

node/@patternfly/react-core/dist/esm/components/ProgressStepper/ProgressStepper.js

raw
1 import { __rest } from "tslib";
2 import { jsx as _jsx } from "react/jsx-runtime";
3 import styles from '@patternfly/react-styles/css/components/ProgressStepper/progress-stepper.mjs';
4 import { css } from '@patternfly/react-styles';
5 export const ProgressStepper = (_a) => {
6 var { children, className, isCenterAligned, isVertical, isCompact, 'aria-label': ariaLabel } = _a, props = __rest(_a, ["children", "className", "isCenterAligned", "isVertical", "isCompact", 'aria-label']);
7 return (_jsx("ol", Object.assign({ className: css(styles.progressStepper, isCenterAligned && styles.modifiers.center, isVertical && styles.modifiers.vertical, isCompact && styles.modifiers.compact, className), role: "list", "aria-label": ariaLabel }, props, { children: children })));
8 };
9 ProgressStepper.displayName = 'ProgressStepper';
10 //# sourceMappingURL=ProgressStepper.js.map