警告:'number' 类型 'style' 的失败道具 'number' 在本机样式(容器)中预期为“对象”
Warning: failed prop 'style' of type 'number' expected `object` in styles (Container) in react native
我在我的应用程序的每个页面中都遇到了这个尴尬但烦人的警告,我确实搜索了 "number " 这个词,但我确定我没有在任何页面中使用它。有什么想法或建议来解决这个问题吗?
我有同样的问题,NativeBase 也对我这样做,它不是解决方案,而是建议摆脱这个,不要创建 styleSheet 只是给你的 css style={{color:""} }
我在我的应用程序的每个页面中都遇到了这个尴尬但烦人的警告,我确实搜索了 "number " 这个词,但我确定我没有在任何页面中使用它。有什么想法或建议来解决这个问题吗?
我有同样的问题,NativeBase 也对我这样做,它不是解决方案,而是建议摆脱这个,不要创建 styleSheet 只是给你的 css style={{color:""} }