import { AppRegistry } from "react-native";
import TrafficStatistics from "./src/Modules/TrafficStatistics/TrafficStatistics";
import BusinessOpportunity from "./src/Modules/BusinessOpportunity/BusinessOpportunity";
import NearbyTopic from "./src/Modules/NearbyTopic/NearbyTopic";
import SelectiveTopic from "./src/Modules/SelectiveTopic/SelectiveTopic";
import ModuleName from "./src/Const/ModuleName";

// 方便macaca测试，关闭黄屏警告
console.disableYellowBox = true;

// 流量统计
AppRegistry.registerComponent(ModuleName.FHTTrafficStatistics, () => TrafficStatistics);
// 商机
AppRegistry.registerComponent(ModuleName.FHTBusinessOpportunity, () => BusinessOpportunity);
// 附近商机
AppRegistry.registerComponent(ModuleName.FHTNearbyTopic, () => NearbyTopic);
// 严选商机
AppRegistry.registerComponent(ModuleName.FHTSelectiveTopic, () => SelectiveTopic);
