kickstartDS / storybook-addon-jsonschema

Displays associated JSON Schema documentation using a rich schema explorer interface, and adds a validating JSON Code Editor with semantic auto-complete to interact with your components, and copy configurations with ease.
https://www.kickstartDS.com/docs/integration/storybook/schema
MIT License
12 stars 1 forks source link

Create reset state button for component / story #12

Open julrich opened 2 years ago

julrich commented 2 years ago

In the Controls panel you can reset the state of the story by clicking a small "Refresh"-Icon.

We should add something similar to the addon, to reset the state to its initial values. Handy if you're just tinkering with values, and don't feel like backtracking your changes made.