equinor/fusion-react-components

Stepper: IconButton lost properties

AndrejNikolicEq opened this issue · 1 comments

Describe the bug
When component renders, every property from IconButton is deleted.
Icon button is used for navigation

To Reproduce
Steps to reproduce the behavior:

  1. Go to Stepper in story book
  2. Look at navigation buttons
  3. Inspect IconButton
  4. See error - all properties are gone

Expected behavior
IconButton should work correctly

Desktop (please complete the following information):

  • OS: iOS

Additional context
Problem is resolved when you comment setStepKeys(steps) in the Stepper.tsx

Swapped icon button with EDS button