I have a functional component screen with a React Native FlatList of custom "Tasks". I want to be able to navigate from a task to another functional component, "TaskEditScreen" and pass some props to the screen as well.
<TouchableOpacity onPress={()=>{navigation.navigate('Task Edit')}}>
<Feather
name="edit"
size={35}
color="black"
style={{
margin: 5
}}
/>
</TouchableOpacity>
The onPress function works and it navigates me to the correct screen, but how do I also pass in some kind of props or data to this screen?