React-styleguidist: Indent sub components in menu?

Created on 3 May 2017  路  3Comments  路  Source: styleguidist/react-styleguidist

Just started and really like the setup, but I have a huge amount of components so I have grouped them, for example

-Header
--Logo
--Toggle
-Foo

Is there a way to make the menu indent automatically for my subcomponents with some decorator or something? Would be cream on the top of one could add a toggle also :)

question

All 3 comments

There is no toggle but you may want to use sections for grouping.

And you can generate sections based on folders.

Thanks, this actually solves the issue, just make more sections and group more.

Was this page helpful?
0 / 5 - 0 ratings