how can I pass and get parameters in react navigation? I have tried
this.props.navigation.getParams('name',defaultValue)
to get the parameter.
how can I pass and get parameters in react navigation? I have tried
this.props.navigation.getParams('name',defaultValue)
to get the parameter.
get param:
pass params:
or: