1 | import * as React from 'react';
|
2 | import styles from '@patternfly/react-styles/css/components/Wizard/wizard';
|
3 | import { css } from '@patternfly/react-styles';
|
4 | export const WizardNav = ({ children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, isOpen = false, returnList = false }) => {
|
5 | const innerList = React.createElement("ol", { className: css(styles.wizardNavList) }, children);
|
6 | if (returnList) {
|
7 | return innerList;
|
8 | }
|
9 | return (React.createElement("nav", { className: css(styles.wizardNav, isOpen && styles.modifiers.expanded), "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy },
|
10 | React.createElement("ol", { className: css(styles.wizardNavList) }, children)));
|
11 | };
|
12 | WizardNav.displayName = 'WizardNav';
|
13 |
|
\ | No newline at end of file |