<i id='Bdn4K'><tr id='Bdn4K'><dt id='Bdn4K'><q id='Bdn4K'><span id='Bdn4K'><b id='Bdn4K'><form id='Bdn4K'><ins id='Bdn4K'></ins><ul id='Bdn4K'></ul><sub id='Bdn4K'></sub></form><legend id='Bdn4K'></legend><bdo id='Bdn4K'><pre id='Bdn4K'><center id='Bdn4K'></center></pre></bdo></b><th id='Bdn4K'></th></span></q></dt></tr></i><div id='Bdn4K'><tfoot id='Bdn4K'></tfoot><dl id='Bdn4K'><fieldset id='Bdn4K'></fieldset></dl></div>
      <tfoot id='Bdn4K'></tfoot>
      • <bdo id='Bdn4K'></bdo><ul id='Bdn4K'></ul>

      <small id='Bdn4K'></small><noframes id='Bdn4K'>

    1. <legend id='Bdn4K'><style id='Bdn4K'><dir id='Bdn4K'><q id='Bdn4K'></q></dir></style></legend>

        'ActionSheetIOS' 不是从'react-native-web/dist/index

        时间:2023-12-07
        • <small id='nWnvC'></small><noframes id='nWnvC'>

            • <bdo id='nWnvC'></bdo><ul id='nWnvC'></ul>
            • <tfoot id='nWnvC'></tfoot>
            • <i id='nWnvC'><tr id='nWnvC'><dt id='nWnvC'><q id='nWnvC'><span id='nWnvC'><b id='nWnvC'><form id='nWnvC'><ins id='nWnvC'></ins><ul id='nWnvC'></ul><sub id='nWnvC'></sub></form><legend id='nWnvC'></legend><bdo id='nWnvC'><pre id='nWnvC'><center id='nWnvC'></center></pre></bdo></b><th id='nWnvC'></th></span></q></dt></tr></i><div id='nWnvC'><tfoot id='nWnvC'></tfoot><dl id='nWnvC'><fieldset id='nWnvC'></fieldset></dl></div>
                <tbody id='nWnvC'></tbody>
              <legend id='nWnvC'><style id='nWnvC'><dir id='nWnvC'><q id='nWnvC'></q></dir></style></legend>

                  本文介绍了'ActionSheetIOS' 不是从'react-native-web/dist/index' 导出的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如何避免这种警告?
                  我的应用程序正在运行,但它在终端中发出警告,如下所示

                  How to avoid the this kind of warning?
                  My app is working but it gives warning in terminal like below

                  Compiled with warnings.
                  /home/karim/Desktop/React-Native/RN-Complete-Guide/node_modules/react-navigation-header- 
                  buttons/src/overflowMenuPressHandlers.js
                  Attempted import error: 'ActionSheetIOS' is not exported from 'react-native-web/dist/index'.
                  

                  这是因为我从 react-navigation-header-buttons 导入了 HeaderButtonsHeaderButton,如下所示

                  It is because of of I imported HeaderButtons and HeaderButton from react-navigation-header-buttons like below

                  import { HeaderButtons } from "react-navigation-header-buttons";
                  import { HeaderButton } from "react-navigation-header-buttons";
                  

                  我使用的是 react-native 4.x veriosn.
                  有什么办法可以避免这个警告吗?

                  And I am using react-native 4.x veriosn.
                  is there any way to avoid this warning?

                  推荐答案

                  在我导出的 react-native-web/dist/index.js 中导出 { ActionSheetIOS };不知何故,警告消失了

                  in react-native-web/dist/index.js i exported export { ActionSheetIOS }; and somehow the warning disappeared

                  这篇关于'ActionSheetIOS' 不是从'react-native-web/dist/index' 导出的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:React Native - 导航问题“未定义不是对象(this.props.navigation.navigate)& 下一篇:Undefined is not an object (evalating 'React.PropTypes.N

                  相关文章

                  <tfoot id='jApoW'></tfoot>
                    <bdo id='jApoW'></bdo><ul id='jApoW'></ul>

                      <i id='jApoW'><tr id='jApoW'><dt id='jApoW'><q id='jApoW'><span id='jApoW'><b id='jApoW'><form id='jApoW'><ins id='jApoW'></ins><ul id='jApoW'></ul><sub id='jApoW'></sub></form><legend id='jApoW'></legend><bdo id='jApoW'><pre id='jApoW'><center id='jApoW'></center></pre></bdo></b><th id='jApoW'></th></span></q></dt></tr></i><div id='jApoW'><tfoot id='jApoW'></tfoot><dl id='jApoW'><fieldset id='jApoW'></fieldset></dl></div>
                    1. <legend id='jApoW'><style id='jApoW'><dir id='jApoW'><q id='jApoW'></q></dir></style></legend>

                      <small id='jApoW'></small><noframes id='jApoW'>