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

Bug - Wizard - props not being spread in various child components

Open nicolethoen opened this issue 1 year ago • 0 comments

There are a few things missing from the the props in various Wizard child components

For example in WizardNavItem:

  1. The props are not getting spread to the WizardNavItem's li element.
  2. The props also don't extend React.HTMLProps<HTMLLIElement>
  3. the className is not included in the props, so I cannot add any custom classes to the li element.

These issues are also present in at least:

  • WizardNav
  • WizardBody
  • WizardFooter
  • WizardHeader
  • WizardToggle

This is inhibiting QuickStart's ability to style individual WizardNavItems to have success/failure/etc styles as part of https://github.com/patternfly/patternfly-quickstarts/issues/299

nicolethoen avatar Jun 26 '24 18:06 nicolethoen