Undefined is not an object (evaluating 'navigation.navigate' )

Hi Mosh and other helpers, I have made a tab navigator for my React Native App just like mosh taught in his videos and course, I want this tab navigator to work with a click of a button but for me, it is showing navigation.navigate undefined error. I have made a button on my Login screen which is called Login (as such, I am not authenticating anything) and when I click this button it should go to my Tab navigator screen but it’s throwing an error of undefined. I am using navigation as a props in my function of a Login screen, according to me everything is correct but this error is not letting me proceed with anything. Is it something related to Stack Navigator? Any help will be appreciated. Thank you.