display each of the types in a union
kevinbarabash opened this issue · 4 comments
kevinbarabash commented
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'
.
marc-rutkowski commented
Hi @kevinbarabash
The latest release (3.0.4) should fix this.
Let me know...
kevinbarabash commented
@marc-rutkowski the 3.0.4 release of storybook? The most recent release of storybook-addon-props is 2.0.3.
marc-rutkowski commented
sorry @kevinbarabash, I meant release of the storybook-addon-props package on npm
kevinbarabash commented
I didn't realize that there was different versioning. Thanks :)