配置文件
新建src/navigation/options/TabOption.js
文件
import * as React from 'react';
import SimpleLineIcons from 'react-native-vector-icons/SimpleLineIcons';
// TabOption 配置
const TabOption = route => {
let labelName;
let iconName;
switch (route.name) {
case 'DiscoverStack':
labelName = '发现';
iconName = 'compass';
break;
case 'VideoStack':
labelName = '视频';
iconName = 'camrecorder';
break;
default:
labelNa...