marc-rutkowski/storybook-addon-props

display each of the types in a union

kevinbarabash opened this issue · 4 comments

Using

type Props {
    option?: 'foo' | 'bar',
}

all that shows up in the "Type" column is "union".

The desired behavior would be to display 'foo' | 'bar'.

Hi @kevinbarabash
The latest release (3.0.4) should fix this.

Let me know...

@marc-rutkowski the 3.0.4 release of storybook? The most recent release of storybook-addon-props is 2.0.3.

sorry @kevinbarabash, I meant release of the storybook-addon-props package on npm

I didn't realize that there was different versioning. Thanks :)