import React from "react"; import { createNativeStackNavigator } from "@react-navigation/native-stack"; import SelectSettingItem from "./SelectSettingItem"; import AboutUs from "./AboutUs"; import BannedList from "./BannedList"; import EditPassword from "./EditPassword"; import DeleteAccount from "./DeleteAccount"; import SwitchAccount from "./SwitchAccount"; import Feedback from "./Feedback"; import { Icon } from "@rneui/themed"; const SettingStack = createNativeStackNavigator(); export default function Setting() { return ( ({ headerLeft: () => ( navigation.goBack()} /> ), title: "设置", headerTitleStyle: { color: "white" }, headerStyle: { backgroundColor: "#07050A" }, })} /> ({ headerLeft: () => ( navigation.goBack()} /> ), title: "关于我们", headerTitleStyle: { color: "white" }, headerStyle: { backgroundColor: "#07050A" }, })} /> ({ headerLeft: () => ( navigation.goBack()} /> ), title: "黑名单", headerTitleStyle: { color: "white" }, headerStyle: { backgroundColor: "#07050A" }, })} /> ({ headerLeft: () => ( navigation.goBack()} /> ), headerTransparent: true, title: "", headerTitleStyle: { color: "white" }, headerStyle: { backgroundColor: "#07050A" }, })} /> ({ headerLeft: () => ( navigation.goBack()} /> ), title: "意见反馈", headerTitleStyle: { color: "white" }, headerStyle: { backgroundColor: "#07050A" }, })} /> ({ headerLeft: () => ( navigation.goBack()} /> ), title: "账号注销", headerTitleStyle: { color: "white" }, headerStyle: { backgroundColor: "#07050A" }, })} /> ({ headerLeft: () => ( navigation.goBack()} /> ), title: "切换账号", headerTitleStyle: { color: "white" }, headerStyle: { backgroundColor: "#07050A" }, })} /> ); }