This is my first post on StackOverflow, so apologies if I\'m not following the correct format.
I\'m building my first app using tab navigator from React Navigation
you can use the property 'children' to pass an element type jsx like instead of the property 'component', is recomended from react-native.
On this way you can pass props to component example:
}
/>
is neccesary to use '()=>' because the property children need a function that return a jsx element, it's functional.