Files
workspace/code/base-project/base-app/src/app/+not-found.tsx
T
2025-11-04 17:32:32 +08:00

20 lines
571 B
TypeScript

import { router, Stack } from 'expo-router'
import { ArrowLeft } from 'lucide-react-native'
import { EmptyState } from '@/components/common/EmptyStatus'
export default function NotFound() {
return (
<>
<Stack.Screen options={{ headerShown: false }} />
<EmptyState
image={require('@/static/images/404.png')}
title="(´・ω・`) 页面走丢了~"
description="回首页看看吧!"
buttonText="返回应用首页"
buttonIcon={ArrowLeft}
onButtonPress={() => router.replace('/')}
/>
</>
)
}