Skip to content
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 modules #834

Closed
shilman opened this issue Apr 15, 2017 · 3 comments
Closed

Support modules #834

shilman opened this issue Apr 15, 2017 · 3 comments

Comments

@shilman
Copy link
Member

shilman commented Apr 15, 2017

Issue by roonyh
Wednesday Jul 20, 2016 at 05:29 GMT
Originally opened as storybook-eol/react-native-storybook#48


At the moment react-native storybook helps mostly app developers. The documentation assumes its added to an existing app.

We can make it work also for module developers, so instead of sample apps they can use storybook.

@ndelangen
Copy link
Member

@roonyh Maybe you can explain this further?

@roonyh
Copy link
Contributor

roonyh commented Jul 8, 2017

By "module" i meant "library". https://nativebase.io/ seems to be such a component library.
Its not an app. At the time rn-storybook was difficult to be used for such library development. It was targeting app development. The web storybook can be used instead of an sample app by web component library developers. I thought the RN version should work the same.

I haven't used RN-storybook in a while so don't know how this has changed.

@danielduan
Copy link
Member

danielduan commented Aug 27, 2017

You can certainly create a new "modules" project by creating a new project using create-react-native-app and then adding storybook/react-native on top of it.

Please reopen if there's still a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants