问题标签 [tabbarios]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
466 浏览

react-native - React-native 如何将您的图标放入 iOS TabBar

我面临的问题是我想将自己的图标放在 Tab Bar iOS 组件中。我阅读了 API,它说我需要icon使用 type 变量分配属性Image.propTypes.source。虽然我仍然收到“意外令牌”

代码片段: