React-Navigation 5 - Passing values between screens

I was used to getParam in Navigation 4 to pass values between screens, now I’m a bit lost in version 5. I made an Expo Snack to better understand the problem I’m having: https://snack.expo.io/@mobshed/navigation-5---passing-values

In case the snack is not clear, I would like to pass the topic’s value from Screen1 to Screen2.

Thanks!

You can access params with props.route.params

Thanks satya164 for your reply. Actually, the problem was due to me forgetting the curly brackets here: function MyScreen2({route, topic})