TypeError: Navigation.getParams no es una función.

In react navigation 6 we use route so change navigation to route it should 
look like this

export default function Example({ route }) {
  return (
    <View>
      <Text>{route.params.exapmle}</Text>
    </View>
  );
}
Computer Nerd