You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to happen?
Tried to display the propTable of a component that has a code evaluation in the propTypes declaration.
What happened instead?
Error propType.value.map is not a function was displayed
Steps to reproduce
Create a component with a evaluation in the propTypes declaration.
Add a story withInfo with an object defining the propTables to display the component. withInfo({ propTables: [Button] })(() => (...))
Run the storybook
Please specify which version of Storybook and optionally any affected addons that you're running
The text was updated successfully, but these errors were encountered:
theAbeGonzalez
changed the title
Error when using oneOf propType and a evaluation
Info Addon - Error when using oneOf propType and a evaluation
Jan 5, 2018
theAbeGonzalez
changed the title
Info Addon - Error when using oneOf propType and a evaluation
[Addon Info] - Error when using oneOf propType and a evaluation
Jan 5, 2018
fspoettel
pushed a commit
to react-lds/react-lds
that referenced
this issue
Jan 24, 2018
Issue details
What did you expect to happen?
Tried to display the propTable of a component that has a code evaluation in the propTypes declaration.
What happened instead?
Error
propType.value.map is not a function
was displayedSteps to reproduce
Create a component with a evaluation in the propTypes declaration.
Add a story withInfo with an object defining the propTables to display the component.
withInfo({ propTables: [Button] })(() => (...))
Run the storybook
Please specify which version of Storybook and optionally any affected addons that you're running
@storybook/react 3.2.12
@storybook/addon-info 3.2.12
Screenshots / Screencast / Code Snippets (Optional)
The text was updated successfully, but these errors were encountered: