New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various prop types are missing #4
Comments
Hey Jared! As for CardStack, yeah there are a handful of old props left over from the NavigationExperimental views that were moved over. For now I think the best approach is to clean them up, and we can revisit adding things in later. @satya164, could you make sure the flow types and docs are up to date for |
@ericvicenti |
As a side note, while reading the docs I got a bit confused by whether |
@coodoo, |
@satya164 |
@jaredly |
@satya164 I believe that it does Here's the trail: from return createNavigationContainer(createNavigator(router)(props => (
<CardStack
{...props}
headerComponent={headerComponent}
headerMode={headerMode}
mode={mode}
/>
)), containerOptions);
And then TLDR I had to read a ton of source code to realize that I could do
Please fix the docs so future users don't have to read all your source code. |
@ericvicenti Absolutely, will see how to merge all above mentioned details into the docs. |
Closing as we are now generating prop-types directly from |
From the code, there are a bunch of places where prop types are used, but not indicated in other places.
HeaderComponent
toCardStack
but CardStack doesn't seem to do anything with itThe text was updated successfully, but these errors were encountered: