We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"@storybook/addon-essentials": "6.5.13", "@storybook/addon-links": "6.5.13", "@storybook/addon-ondevice-actions": "6.0.1-beta.10", "@storybook/addon-ondevice-backgrounds": "6.0.1-beta.10", "@storybook/addon-ondevice-controls": "6.0.1-beta.10", "@storybook/addon-ondevice-notes": "6.0.1-beta.10", "@storybook/react-native": "6.0.1-beta.10", "@storybook/addon-react-native-web": "0.0.19", "@storybook/react": "6.5.13", "@storybook/docs-tools": "6.5.13"
const path = require('path'); module.exports = { staticDirs: ['./public'], stories: [ "../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)", ], addons: [ "@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-react-native-web", ], framework: "@storybook/react", features: { storyStoreV7: true, }, webpackFinal: async (config, { configType })=>{ // Make whatever fine-grained changes you need // Return the altered config return config; } };
tw-map-view folder like this
tw-map-view/ __stories__ index.stories.tsx index.ts TwMapView.native.tsx: which contains native platform code TwMapView.tsx: which only has web platform code
import { TwMapView, TwMapViewSdk } from '../TwMapView'; export default { title: 'display/tw-map-view', component: TwMapView, parameters: { actions: { argTypesRegex: '^on.*' }, docs: { }, }, }; ....some other code
I try some steps
The text was updated successfully, but these errors were encountered:
I created a repo to reproducre https://github.com/StarHosea/storybook-react-native-debug
Sorry, something went wrong.
yarn dev
TwMapView.native.tsx
@StarHosea Thanks for the reproduction, I'll take a look soon 👍
Hi, I'm running into this issue as well. Was there ever a resolution to this? Thanks!
Some context: I am updated storybook from version 6 to 7.
No branches or pull requests
tw-map-view folder like this
I try some steps
The text was updated successfully, but these errors were encountered: