File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {
14
14
StackScreenProps ,
15
15
} from '@react-navigation/stack' ;
16
16
import { NavigationContainer , ParamListBase } from '@react-navigation/native' ;
17
+ import Entypo from '@expo/vector-icons/Entypo' ;
17
18
import {
18
19
GestureHandlerRootView ,
19
20
RectButton ,
@@ -323,6 +324,7 @@ function MainScreenItem({ name, onPressItem }: MainScreenItemProps) {
323
324
return (
324
325
< RectButton style = { [ styles . button ] } onPress = { ( ) => onPressItem ( name ) } >
325
326
< Text > { name } </ Text >
327
+ < Entypo name = "chevron-right" size = { 24 } color = "#bbb" />
326
328
</ RectButton >
327
329
) ;
328
330
}
@@ -354,7 +356,10 @@ const styles = StyleSheet.create({
354
356
flex : 1 ,
355
357
height : 50 ,
356
358
padding : 10 ,
359
+ flexDirection : 'row' ,
357
360
backgroundColor : '#fff' ,
361
+ alignItems : 'center' ,
362
+ justifyContent : 'space-between' ,
358
363
} ,
359
364
buttonContent : {
360
365
flex : 1 ,
You can’t perform that action at this time.
0 commit comments