A React-based library for creating sleek presentations using JSX syntax that gives you the ability to live demo your code.
9.75k
stars
691
forks
source link
Better error messages for useSteps and stepper components #1240
Closed
fritz-c closed 2 years ago
Description
This change provides better error messages when useSteps or stepper components are used in the wrong context.
Fixes #1233
Type of Change
How Has This Been Tested?
It hasn't been. The destructuring statements that appeared where the error throwing now occurs would throw errors anyway for the same conditions.