Closed RoyalHunt closed 4 years ago
Deployment failed with the following error:
Your `package.json` file is missing a `build` property inside the `script` property.
@RoyalHunt I checked in SmartKnobedComponentWithFlow.js
example and required field is set correctly for flow. Here's an output for SmartKnobedComponent.__docgenInfo.props[prop]
for each prop in the example:
Could you resolve conflicts and merge in the base branch?
Looks like master branch already have needed changes for correct work. I'm closing the PR. Thank you!
Similar to https://github.com/storybookjs/addon-smart-knobs/pull/60
Difference is in covering flow definitions. propType.required is always false for flow.