Spaces:
Runtime error
Runtime error
Download app/App.tsx from ichko/text-brush: direct link, hf CLI and curl.
- Browser
- Download file 594 Bytes
-
https://huggingface.co/spaces/ichko/text-brush/resolve/main/app/App.tsx
- Command line
-
hf download hf://spaces/ichko/text-brush/app/App.tsx
-
curl -L -o App.tsx https://huggingface.co/spaces/ichko/text-brush/resolve/main/app/App.tsx
594 Bytes
| import { StatusBar } from 'expo-status-bar'; | |
| import { SafeAreaProvider } from 'react-native-safe-area-context'; | |
| import useCachedResources from './hooks/useCachedResources'; | |
| import useColorScheme from './hooks/useColorScheme'; | |
| import Navigation from './navigation'; | |
| export default function App() { | |
| const isLoadingComplete = useCachedResources(); | |
| const colorScheme = useColorScheme(); | |
| if (!isLoadingComplete) { | |
| return null; | |
| } else { | |
| return ( | |
| <SafeAreaProvider> | |
| <Navigation colorScheme={colorScheme} /> | |
| <StatusBar /> | |
| </SafeAreaProvider> | |
| ); | |
| } | |
| } | |