import React from 'react'; import { View } from 'react-native'; import { makeStyles, Text, Button, useThemeMode } from '@rneui/themed'; export default function TestScreen() { const styles = useStyles(); const { setMode, mode } = useThemeMode(); const handleOnPress = () => { setMode(mode === 'dark' ? 'light' : 'dark'); }; return ( Start Using RNE Open up App.tsx to start working on your app! Powered by RNE-Edge ); } const useStyles = makeStyles((theme) => ({ container: { flex: 1, backgroundColor: theme.colors.background, alignItems: 'center', justifyContent: 'center', }, text: { marginVertical: theme.spacing.lg, }, }));