aboutsummaryrefslogtreecommitdiff
path: root/App.tsx
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-05-12 18:04:15 +0530
committerAkshay Nair <phenax5@gmail.com>2024-09-29 16:16:38 +0530
commitd87cea9ff2467f93be28533938dfc3a3e5c0c937 (patch)
treef4990814079a2fcaab7906c740ba04add28fa9e5 /App.tsx
parent8995438b9a8649d30d870826d0f8fbf283d68933 (diff)
downloaddaft-launcher-d87cea9ff2467f93be28533938dfc3a3e5c0c937.tar.gz
daft-launcher-d87cea9ff2467f93be28533938dfc3a3e5c0c937.zip
Add home and clock on top
Diffstat (limited to 'App.tsx')
-rw-r--r--App.tsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/App.tsx b/App.tsx
index 1b42456..6c2c0dc 100644
--- a/App.tsx
+++ b/App.tsx
@@ -1,8 +1,9 @@
import React, {useState} from 'react';
-import {SafeAreaView, Text, View} from 'react-native';
+import {SafeAreaView} from 'react-native';
import {InstalledApps} from 'react-native-launcher-kit';
import Swiper from 'react-native-swiper';
import {AppList} from './src/screens/AppList';
+import {Home} from './src/screens/Home';
function App(): React.JSX.Element {
const [apps, setApps] = useState(() => InstalledApps.getSortedApps());
@@ -20,9 +21,7 @@ function App(): React.JSX.Element {
activeDot={<></>}
index={screenIndex}
onIndexChanged={setScreenIndex}>
- <View>
- <Text>Wow</Text>
- </View>
+ <Home />
<AppList apps={apps} screenIndex={screenIndex} />
</Swiper>