Nested Arguments or Object Arguments in storybook

Viewed 3346

I am trying out storybook version 6 against a vue.js set of components.

My components take objects as arguments, so I have a standard interface.

I can just pass in a block of json, but I like the arguments/controls interface for editing/selecting values.

Is it possible to configure arguments in storybook to be nested?

I have hacked it to build arguments with names objectname__fieldname, and then convert them in the object, but it is unsatisfactory from the documentation and ux perspective.

0 Answers
Related