Open History to see the last commit
1import { useNavigation } from "@react-navigation/native";
2import { View } from "react-native";
3import { EmptyState } from "../../../components/ui/EmptyState";
4import { openSettings } from "../../settings/settings-navigation";
5
6export function WorkspaceNoTabs() {
7 const navigation = useNavigation();
8 return (
9 <View className="flex-1 items-center justify-center bg-screen">
10 <EmptyState
11 title="All sections are hidden"
12 detail="Show a section to add it back to navigation."
13 actionLabel="Edit navigation tabs"
14 variant="plain"
15 onAction={() => openSettings(navigation, "SettingsNavigation")}
16 />
17 </View>
18 );
19}