/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* Generated with the TypeScript template
* https://github.com/react-native-community/react-native-template-typescript
*
* @format
*/
import React from 'react';
import {
Link,
Text,
HStack,
Center,
Heading,
Switch,
useColorMode,
NativeBaseProvider,
VStack,
Box,
} from 'native-base';
import NativeBaseIcon from './src/components/NativeBaseIcon';
// Color Switch Component
function ToggleDarkMode() {
const { colorMode, toggleColorMode } = useColorMode();
return (
Dark
Light
);
}
const App = () => {
return (
Welcome to NativeBase
Edit
App.js
and save to reload.
Learn NativeBase
);
};
export default App;