Hello
I see what supporting Object.keys in react-docgen is merged
https://github.com/reactjs/react-docgen/pull/211
When react-styleguidist add this support?
As soon as someone sends a pull request with an update ;-)
@romanlex , could you check, please?
it's doesn't work( with
const COLORS = Object.keys(colors)

And I see this

May be it is https://github.com/reactjs/react-docgen/pull/211 merged to master and doesn't merged to dev branch with 3.x version
It looks like the colors example works for me.
const colors = {
red: 'redddd',
blue: 'blllluuuu'
}
const COLORS = Object.keys(colors)
gives:

That's the desired outcome right? @romanlex @sapegin
It looks like the colors example works for me
@jmetev1 yeah that works as long as colors is defined inside the same file. If you import colors from external file (which is a very common pattern) doesn't work