import * as React from 'react'; import {View} from "react-native"; import {Text, withTheme} from 'react-native-paper'; import AuthenticatedScreen from "../../components/AuthenticatedScreen"; type Props = { navigation: Object, theme: Object, } type State = { } class ProfileScreen extends React.Component { state = { }; colors: Object; constructor(props) { super(props); this.colors = props.theme.colors; } getScreen(data: Object) { return ( PAGE ) } render() { return ( this.getScreen()} /> ); } } export default withTheme(ProfileScreen);