Create own web documentation from React Native app

777 Views Asked by At

Is there a way to create a documentation (like reactnative.dev / react-styleguidist) for a React Native app?

1

There are 1 best solutions below

0
nipuna-g On

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/