Reputation: 714
Is there a way to create a documentation (like reactnative.dev / react-styleguidist) for a React Native app?
Upvotes: 2
Views: 854
Reputation: 6652
You could use "react-styleguidist" or "storybook" but using "react-native-web" to render the components.
This will not work for all usecases(especially with Android/iOS only components), but hopefully it should cover most of the use cases in a component library.
Storybook has a guide on how to deploy these docs: https://storybook.js.org/tutorials/intro-to-storybook/react-native/en/deploy/
Upvotes: 2