For reference --cause I'm sure people will come here looking for ways to do this-- right now you have to define dummy components.
Thx @mrkev, that would've never come to my head)
Closing for more descriptive https://github.com/facebook/flow/issues/7672
Most helpful comment
For reference --cause I'm sure people will come here looking for ways to do this-- right now you have to define dummy components.