-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathApp.js
More file actions
21 lines (20 loc) · 751 Bytes
/
Copy pathApp.js
File metadata and controls
21 lines (20 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import React, { useEffect, useState } from "react";
// import Appearance from 'react-native'
// import { AppearanceProvider, Appearance } from "react-native-appearance";
import WalkthroughScreen from "./src/screens/WalkthroughScreen/WalkthroughScreen";
import WalkthroughAppConfig from "./src/WalkthroughAppConfig";
import DynamicAppStyles from "./src/DynamicAppStyles";
export default function App() {
// const [colorScheme, setColorScheme] = useState(Appearance.getColorScheme());
// useEffect(() => {
// Appearance.addChangeListener(({ colorScheme }) => {
// setColorScheme(colorScheme);
// });
// })
return (
<WalkthroughScreen
appConfig={WalkthroughAppConfig}
appStyles={DynamicAppStyles}
/>
);
}