Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With a stateless functional component passed as `component`, Flow cannot decide which type in the union to use. If we use a more specific type like `ElementType`, Flow can now figure out which case we mean.
- Loading branch information