Closed ljqx closed 5 years ago
In README.md, it docs that type of param of withTheme is PropTypes.element, but it should be a React.Component, which is ComponentType<> in Flow.
withTheme
PropTypes.element
React.Component
ComponentType<>
Thanks. merged 👍
In README.md, it docs that type of param of
withTheme
isPropTypes.element
, but it should be aReact.Component
, which isComponentType<>
in Flow.