Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Scene key="profile" path="/profile/posts/:userIdParam" identifier="profile" component={PostProfileContainer} back navBar={CustomNavBar}/>
- const CustomNavBar = ({back, title,identifier}) => {
- return (
- <View style={styles.customNavigationContainer}>
- {back && <TouchableOpacity onPress={Actions.pop} style={styles.leftRightContainer}>
- <View style={styles.backSubContainer}>
- <Icon name="ios-arrow-back" style={styles.backArrowIcon}/>
- <Text style={{fontSize: 16, marginLeft: 10, color: 'black'}}>Back</Text>
- </View>
- </TouchableOpacity>}
- <View style={styles.navigationTitleContainer}>
- <Text style={styles.navigationTitleText}>
- {title}
- </Text>
- </View>
- {back && <View style={styles.leftRightContainer}>
- <View style={styles.backSubContainer}/>
- </View>}
- </View>
- )
- };
Add Comment
Please, Sign In to add comment