I couldn't see anything around this in the docs, but if this is already implemented, please let me know!
The Issue
In Storybook, you can use the @storybook/addon-knobs package to allow you to dynamically change your components prop values within Storybook. In our case, the state of these props can determine the UI for a given component.
It would be great if we could define multiple prop values and have a screenshot for each variant so that we're able to see our UI components in different states.
I couldn't see anything around this in the docs, but if this is already implemented, please let me know!
The Issue In Storybook, you can use the @storybook/addon-knobs package to allow you to dynamically change your components prop values within Storybook. In our case, the state of these props can determine the UI for a given component.
It would be great if we could define multiple prop values and have a screenshot for each variant so that we're able to see our UI components in different states.