Closed kimjuny closed 7 years ago
@kimjuny RN TabBar 只能传 imagesource
https://github.com/ant-design/ant-design-mobile/blob/master/components/tab-bar/TabBarItem.tsx#L46
RN 官方的 TabBar 不支持 Icon(字体),必须是 RN 的 Image 类型
同 http://facebook.github.io/react-native/releases/next/docs/tabbarios-item.html#icon
Version
1.0.7
Environment
react-native@0.42.3, react@15.4.2
Reproduction link
http://codepen.io/kimjuny/pen/xdbgNb
Steps to reproduce
TabBar只要设置icon就会报错:Invalid data message - all must be length: 13
What is expected?
正常显示
What is actually happening?
报错