-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support react-native storybook #6
Comments
Is the repo can be access from outside ? |
Just pushed changes to react-native-button repo. Check the test-specs branch there. To reproduce the error from a clean app:
|
Here's what I found so far: React Native uses babel config from dependencies to transform them. This error comes when RN tries to use babel config from The easiest fix is to avoid using aphrodite for now. Let's assume we fix the above error. The next problem is getting enzyme to run inside react-native. It's also giving an error. To reproduce this error, try running this repo with |
Hey what is the status of the plug-in with react-native ? |
Well, if someone wants to give this a try, I'm all in to add this feature :) |
I would love for this addon work with react native. |
Am i right to think that this addon is only for react web? because normally react native addon package will have the prefix ''@storybook/addon-ondevice-****". Like knobs addon for web is @storybook/addon-knobs and for react-native is : @storybook/addon-ondevice-knobs |
Hi,
React Native Storybook supports addons form
v2
. The specifications addon doesn't seem to work out of the box with it. Got the error below when using with a simple repo. I'll try to find why we're getting this error and send a pull-request if I can.If there are any Webpack Gurus around here, please check this out.
The text was updated successfully, but these errors were encountered: