Storybook: @storybook/addon-controls with vuejs, argType on nested arg property

Created on 13 Jul 2020  路  2Comments  路  Source: storybookjs/storybook

This is just a question.

say I have

Default.args = {
  config: {
    bg: '#fff'
  }
}

Is there any way to define config.bg as { control: { type: color } }?

Thank you

controls args question / support

Most helpful comment

Not currently. We need to figure out how to provide nested controls in a future iteration.

All 2 comments

Not currently. We need to figure out how to provide nested controls in a future iteration.

Yeah, I was fearing that.
Ok, thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rpersaud picture rpersaud  路  3Comments

xogeny picture xogeny  路  3Comments

wahengchang picture wahengchang  路  3Comments

dnlsandiego picture dnlsandiego  路  3Comments

ZigGreen picture ZigGreen  路  3Comments