This repository has been archived by the owner on Nov 10, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Not works on react-native [has solution] #41
Comments
ColCh
changed the title
Not works on react-native
Not works on react-native [has solution]
Sep 25, 2016
With fix applied works like a charm: https://streamable.com/esn8 |
ColCh
added a commit
to ColCh/storybook-addon-knobs
that referenced
this issue
Sep 25, 2016
Okay. Looks prefect. Let's ship this. |
Released |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Error text:
WHY
Because of this wrapper:
https://github.com/kadirahq/storybook-addon-knobs/blob/7757f1ef03880f3682cc836f5e88f52078f4be51/src/components/WrapStory.js#L54
WrapStory.js:
react-native
have no<div>
component. It's only defined in WEB environment.SOLUTION
remove wrapper and return storyFn result:
The text was updated successfully, but these errors were encountered: