UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

10 lines 863 B
import { __rest } from "tslib"; import { jsx as _jsx } from "react/jsx-runtime"; import styles from '@patternfly/react-styles/css/components/ProgressStepper/progress-stepper.mjs'; import { css } from '@patternfly/react-styles'; export const ProgressStepper = (_a) => { var { children, className, isCenterAligned, isVertical, isCompact, 'aria-label': ariaLabel } = _a, props = __rest(_a, ["children", "className", "isCenterAligned", "isVertical", "isCompact", 'aria-label']); 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 }))); }; ProgressStepper.displayName = 'ProgressStepper'; //# sourceMappingURL=ProgressStepper.js.map