-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Using Storybook in a project with Wix's react-native-navigation? #1151
Comments
It does work :) Give me few minutes for an example. Inside your entry file:
|
Yes, I don't know if RNN supports CRNA. I'll quickly ask around. |
@SuttJ so RNN doesn't support CRNA. |
Take me some times to understand why Storybook stops on splash screen... Just in case, I create a repository with correct configuration. |
Thanks @Charlynux for the sample. For reference for anyone stumble upon this, I'm able to setup with the following changes on
|
With RNN@v2 const StorybookUI = getStorybookUI({ port: 7007, onDeviceUI: true })
Navigation.registerComponent('storybook.UI', () => StorybookUI)
Navigation.events().registerAppLaunchedListener(async () => {
await Navigation.setRoot({
root: {
component: {
name: 'storybook.UI',
},
},
})
})
export default StorybookUI |
This still seems to blow up when adding the StorybookUI as another tab in RNN app rather than a single screen app |
I can't get it working... has someone tried it?
The text was updated successfully, but these errors were encountered: