diff --git a/src/components/AnimatedButton/index.tsx b/src/components/AnimatedButton/index.tsx index 28d5181..dcb0b2f 100644 --- a/src/components/AnimatedButton/index.tsx +++ b/src/components/AnimatedButton/index.tsx @@ -23,7 +23,7 @@ const Button = ( props ) => { ).start(); } return ( - + { return ( Station Finder - {/* - navigation.navigate('Profile', { name: 'Jane' }) - } - style={ ( {pressed} ) => homeScreenButton( pressed ) } - >ProfileScreen */} - - navigation.navigate('HomeMap', { data: '...map data...' }) - } - style={ ( {pressed} ) => homeScreenButton( pressed ) } - >Map - {/* - navigation.navigate('StaticMap', { data: '...map data...' }) - } - style={ ( {pressed} ) => homeScreenButton( pressed ) } - >StaticMap */} - navigation.navigate( 'AboutScreen', {} ) } - style = { ( {pressed} ) => homeScreenButton( pressed ) } - >About + navigation.navigate( 'HomeMap' ) }>Map + navigation.navigate( 'AboutScreen', {} ) }>About ) diff --git a/src/styles/index.tsx b/src/styles/index.tsx index 17d621a..0a9df05 100644 --- a/src/styles/index.tsx +++ b/src/styles/index.tsx @@ -221,13 +221,16 @@ const styles = StyleSheet.create({ // flex: 1, // justifyContent: 'center', // }, + buttonView: { + width: "80%" + }, button: { justifyContent: 'center', alignSelf: 'center', margin: 3, padding: 6, borderRadius: 8, - width: "80%", + // width: "80%", borderColor: 'rgb( 155, 170, 180 )', color: 'rgb( 200, 200, 200 )', borderWidth: 1,