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

hckhanh picture hckhanh  路  69Comments

p3k picture p3k  路  61Comments

ilyaulyanov picture ilyaulyanov  路  100Comments

dmmarmol picture dmmarmol  路  57Comments

ChucKN0risK picture ChucKN0risK  路  74Comments