storybook-eol/react-native-storybook

Add an easy way to start using Storybook

arunoda opened this issue · 4 comments

Currently using storybook is non ideal(replacing index) or non trivial(configuring platform files).
So, we need to create another method which sites in between. Here's my idea:

There's a floating button on the screen where it renders on top of any other component. Just like iPhone's accessibility button.

When the user clicks on that button, it'll toggle the storybook's preview. I think that's a pretty good way to add storybook to any RN project. We could enable this only in the dev mode.

I really like this. Also, could you use some of the quick key combos, like React Native does to switch between these? (I'm thinking of the CMD + R they use).

@c316 We were looking at that too, but the problem is CMD + R is a special functionality. Not sure how to get something like that.

Anyway, we can try.

I think this is already implemented now.
Check the README :)

@mnmtanish nice work.