1
5
不幸的是,React Native在使用流类型的方式上并不是百分之百一致的。
如果你想对
也就是说,没有
此时,我相信,为自定义图像组件添加完整类型覆盖的最简单方法是查看图像组件的proptype并手动将其转换为流类型。一些更复杂的字段类型,如 ImageSource 和 ImageStyle 已存在为flowtypes。 我不确定核心团队的意图是什么,但可能值得考虑将类型def贡献给本地用户,并为未来的用户解决这个问题。 |
BADRUM · 执行两个获取功能后,如何导航回页面? 1 年前 |
Anaya Ammar · 渲染后未显示的值 1 年前 |
Zemelon · -moz背面可见性不适用于顺风css 1 年前 |
Mark C. · 制作一个可松开的单选按钮[关闭] 1 年前 |