import * as React from 'react' import { View, StyleSheet, TouchableOpacity, Text, ViewStyle, StatusBar } from 'react-native' import { NavigationScreenConfigProps } from 'react-navigation' const route = (routeName: string) => ({ routeName, key: 'example' }) export const Home = ({ navigation }: NavigationScreenConfigProps) => { return ( ) } const buttonStyle: ViewStyle = { flex: 1, justifyContent: 'center', alignItems: 'center', width: '100%' } const styles = StyleSheet.create({ container: { flex: 1 }, text: { fontSize: 20, color: 'white', fontWeight: 'bold' }, basic: { ...buttonStyle, backgroundColor: '#64E1FF' }, interpolatedTranslation: { ...buttonStyle, backgroundColor: '#76E85B' }, showAndHide: { ...buttonStyle, backgroundColor: '#E8614F' }, withoutSnap: { ...buttonStyle, backgroundColor: '#A157FF' }, wrappedInstanceMethods: { ...buttonStyle, backgroundColor: '#FFDA6C' } })