react-native-ui 不兼容 jsxRuntime: 'classic'

作者: shawnthye-guru创建于 2024年11月13日更新于 2024年11月19日

描述错误 我使用了 @fluentui/react-native,但无法使用 jsxRuntime: 'classic',因为 @storybook/react-native-ui/src/util/status.tsx 和其他文件没有导入 React。使用空白的 expo 模板,按照下面的步骤 2 即可正常运行。

内容来源: storybookjs/react-native