patternfly-react icon indicating copy to clipboard operation
patternfly-react copied to clipboard

Minor Issue around Wizard Steps PropTypes.string

Open cdcabrera opened this issue 8 years ago • 0 comments

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

cdcabrera avatar Feb 21 '18 20:02 cdcabrera