Storybook: addon-docs: "Show code" feature becomes useless in version 6

Created on 30 Jun 2020  路  2Comments  路  Source: storybookjs/storybook

_Show code_ feature of addon-docs, is not useful for stories using new, concise syntax involving args:

Screen Shot 2020-06-30 at 10 36 49 PM

Basically makes the whole thing useless, since we will have to either not use it at all, or write full stories manually.

I think it should somehow manage to show a resolved snippet instead, with args expanded. And not the story, but rather a component only.

docs source question / support

All 2 comments

Please upgrade to the latest beta that contains this change: https://github.com/storybookjs/storybook/pull/11332

Awesome!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

43081j picture 43081j  路  61Comments

firaskrichi picture firaskrichi  路  61Comments

ilyaulyanov picture ilyaulyanov  路  100Comments

hckhanh picture hckhanh  路  69Comments

aericson picture aericson  路  97Comments