NativestackNavigationProp Params

import { useNavigation, useRoute } from '@react-navigation/core';
// ...
const navigation = useNavigation();
const route = useRoute();
// ...
const lesson:any = route.params;
GutoTrosla