storybookjs / react-native

📓 Storybook for React Native!
https://storybook.js.org
MIT License
1.08k stars 156 forks source link

react-native autodocs support #617

Open patrickkempff opened 1 month ago

patrickkempff commented 1 month ago

Describe the bug I have enabled autodocs in my react-native storybook project, but I don't see docs page (globally or on component level). I added all the required configuration and also added the tags: ['autodocs'], key. Is autodocs even supported on react-native or react-native-web version of storybook? I searched a lot in the official document, GitHub, google etc. but I could not find anything.

To Reproduce N/A

Expected behavior Autodocs like in the storybook documentation

Screenshots N/A

Code snippets N/A

JaccoM commented 1 month ago

Same issue

dannyhw commented 1 month ago

Could you please explain what you mean? This package @storybook/react-native doesn't support docs the same way as the web.

For docs support you can use https://github.com/storybookjs/addon-react-native-web

dynamically rendering mdx at runtime is a bit tricky in react native on device but I have examples of how you can do custom docs