import React from "react"; import { createNativeStackNavigator } from "@react-navigation/native-stack"; import { Icon } from "@rneui/themed"; import ActiveNotice from "./ActiveNotice"; import SystemNotice from "./SystemNotice"; import NoticeNav from "./NoticeNav"; const SpaceSettingStack = createNativeStackNavigator(); export default function NoticeDetail({ navigation, route }) { return ( ({ headerShown: false, })} /> ({ headerLeft: () => ( navigation.goBack()} /> ), title: "系统通知", headerTitleStyle: { color: "white" }, headerStyle: { backgroundColor: "#07050A" }, })} /> ({ headerLeft: () => ( navigation.goBack()} /> ), title: "活动信息", headerTitleStyle: { color: "white" }, headerStyle: { backgroundColor: "#07050A" }, })} /> ); }