react-native-vector-icons在tab中的使用代码示例
来源:互联网 发布:云梯vpn mac 编辑:程序博客网 时间:2024/06/11 22:42
...import Ionicons from 'react-native-vector-icons/Ionicons';...const RootTabs = TabNavigator({ Home: { screen: HomeScreen, navigationOptions: { tabBarLabel: 'Home', tabBarIcon: ({ tintColor, focused }) => ( <Ionicons name={focused ? 'ios-home' : 'ios-home-outline'} size={26} style={{ color: tintColor }} /> ), }, }, Profile: { screen: ProfileScreen, navigationOptions: { tabBarLabel: 'Profile', tabBarIcon: ({ tintColor, focused }) => ( <Ionicons name={focused ? 'ios-person' : 'ios-person-outline'} size={26} style={{ color: tintColor }} /> ), }, },});export default RootTabs;
阅读全文
0 0
- react-native-vector-icons在tab中的使用代码示例
- react-native-vector-icons使用
- Andriod如何使用react-native-vector-icons
- react-native-vector-icons 图标库的使用
- react-native-vector-icons使用(二)
- react-native-vector-icons的使用
- react-native 使用vector-icons图标库
- React Native react-native-vector-icons 使用小记
- 使用react-native-vector-icons 库报错 react-native-vector-icons 以及使用方法
- react native vector icons 乱码
- ReactNative开发中使用react-native-vector-icons
- React-native开发之图标库react-native-vector-icons 的集成使用
- React native 自定义IconFont react-native-vector-icons
- react-native-vector-icons的简单使用,图片,按钮,标签视图,导航条
- ReactNative系列之十二图标组件react-native-vector-icons的使用
- react-native-baidu-map在react-native中的使用
- redux在react-native中的使用
- React Native在现有项目中的使用
- Python编码知识补充
- oracle 多值数据字典值校验与转换
- JHipster JDL的学习记录
- 【图像处理】人眼区域分割(2)
- spring Security4 和 oauth2整合 注解+xml混合使用(基础运行篇)
- react-native-vector-icons在tab中的使用代码示例
- unity shader-遮罩效果
- 超快的堆积分离处理器——硅漂移探测器和溴化澜闪烁体探测器的理想选择
- csr_matrix矩阵
- java自学笔记10:java中的字符串
- 小程序 转化html
- 深度学习与神经网络-吴恩达-第一周 梯度检查
- 三维图像切面提取
- 为什么接口中的常量必须使用public static final修饰