import React, { Component } from 'react'; import { StyleSheet } from 'react-native'; import { View, Container, Text, Icon, Button } from 'native-base'; import { themeDark, themeLight, useTheme } from './Theme'; class ErrorPage extends React.Component { constructor(props) { super(props); } render() { return ( Ops, something went wrong... ); } } const styles = StyleSheet.create({ container: { alignItems: 'center', justifyContent: 'center', flex: 9999999999, backgroundColor: useTheme('colors.background'), }, icon: { fontSize: 100, color: useTheme('colors.text'), }, text: { color: useTheme('colors.text'), marginTop: 20, marginBottom: 20, }, buttonContainer: { justifyContent: 'center', alignItems: 'center' } }); export default ErrorPage;