2

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

mtoninelli
  • 686
  • 1
  • 6
  • 21

1 Answers1

2

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/

nipuna-g
  • 6,252
  • 3
  • 31
  • 48