Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native autodocs support #617

Open
patrickkempff opened this issue Oct 10, 2024 · 2 comments
Open

react-native autodocs support #617

patrickkempff opened this issue Oct 10, 2024 · 2 comments

Comments

@patrickkempff
Copy link

patrickkempff commented Oct 10, 2024

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
Copy link

JaccoM commented Oct 10, 2024

Same issue

@dannyhw
Copy link
Member

dannyhw commented Oct 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants