patternfly-react
patternfly-react copied to clipboard
Minor Issue around Wizard Steps PropTypes.string
Appears the Wizard step: PropTypes.string and activeStep: PropTypes.string stipulate using a string instead of a number for comparison. The functionality is designed around unique label implementations.
Look at expanding the component properties to allow numbers, for implementations that don't want to "stringify" numbers.
- https://github.com/patternfly/patternfly-react/blob/master/src/components/Wizard/WizardStep.js#L48-L51
- https://github.com/patternfly/patternfly-react/blob/master/src/components/Wizard/WizardSidebarGroup.js#L29-L31