storybookjs / react-native

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

react-native autodocs support #617

Open patrickkempff opened 2 weeks ago

patrickkempff commented 2 weeks 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 2 weeks ago

Same issue

dannyhw commented 2 weeks 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