You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.jsx 755B

12345678910111213141516171819202122232425
  1. // App.js
  2. import React, { useState } from 'react';
  3. import { PaperProvider } from 'react-native-paper';
  4. import { lightTheme, darkTheme } from '../../theme';
  5. import Welcome from '../screens/Welcome';
  6. import Home from '../screens/Home';
  7. import Request from '../screens/Request';
  8. import Status from '../screens/Status';
  9. import Notification from '../screens/Notification';
  10. import { Button, Switch } from 'react-native-paper';
  11. import { View } from 'react-native';
  12. const App = () => {
  13. const [isDarkMode, setIsDarkMode] = useState(false);
  14. return (
  15. <PaperProvider theme={lightTheme}>
  16. <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
  17. <Notification />
  18. </View>
  19. </PaperProvider>
  20. );
  21. };
  22. export default App;