In this React Native lesson, we will be creating a reusable Badge component. The component will also make use of
propTypes to validate that its required data is being passed in when it is used.
I think this may be the correct link:
The component could be more reusable if you only pass the url, the name and the login instead of passing the whole userInfo object. Furthermore, you can check each type of your props intead of just checking that you have an object (which not guarantte that you will have url login and name keys + are strings)