Hey guys I am trying to pass props from one scene to another I have achieved passing props to the desired scene this is how basically i am changing scene through renderScene file
renderScene (route, navigator) {
return React.createElement(route.component, {
navigator: navigator, ...route.passProps
})
},
this is the code through which I am passing props
modalButtonPress() {
this.props.navigator.push({
component: require('../Containers/blabla').default,
passProps: {modalData: this.state.modalData}
});
}
and in other file I am calling it using this.props.modalData and props.modalData returns me with the same data
constructor (props) {
super(props)
this.state = {
modalData: props.modalData,
}
}
while console logging the data I can see the data in the console

but when I am trying to print that data I can't see anything the screen is blank here is my render method.
render () {
return (
<View style={{justifyContent: 'flex-start'}}>
<H3 style={styles.header}> {this.state.modalData._source.service_name}
</H3>
<Text style={styles.negativeMargin} >
Type: <Text style={styles.bold}>{this.state.modalData._source.service_id}</Text>
</Text>
</View>
)
}
Can anybody point out what I am doing wrong in this why data is not getting render on screen.I am stuck up and confused why data is not getting print. Thanks in advance.