UNPKG

@patternfly/react-core

Version:

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

12 lines 799 B
import * as React from 'react'; import styles from '@patternfly/react-styles/css/components/Wizard/wizard'; import { css } from '@patternfly/react-styles'; export const WizardNav = ({ children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, isExpanded = false, isInnerList = false }) => { if (isInnerList) { return (React.createElement("ol", { className: css(styles.wizardNavList), role: "list" }, children)); } return (React.createElement("nav", { className: css(styles.wizardNav, isExpanded && styles.modifiers.expanded), "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy }, React.createElement("ol", { className: css(styles.wizardNavList), role: "list" }, children))); }; WizardNav.displayName = 'WizardNav'; //# sourceMappingURL=WizardNav.js.map