You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem here is you are not creating the object knob inside the story function. If you change your example to something like this you should be all set:
Describe the bug
When changing the values of an
object
rendered through@storybook/addon-knobs
, the UI disappears.To Reproduce
object
using addon-knobsnpm run storybook
object
values in the Storybook knobs tabobject
disappearsExpected behavior
The
object
values should be editable from within the Storybook UI without the knob disappearing.Screenshots
Code snippets
Working example here: https://github.com/benjarwar/storybook-knobs-object-test
npm i
npm run storybook
System:
The text was updated successfully, but these errors were encountered: