Closed kopax closed 3 years ago
I am not a TS expert but I think this type is for both FunctionComponent and ClassComponent, as per this comment : https://stackoverflow.com/a/60389552/2127277
We can even go extra mile by specifying which props are supported with the dot component by providing a generic param to the ComponentType. However, this is mostly okay for now.
Thank you, would you mind releasing for us? I checked travis but the project is not on it.
Fix https://github.com/reactrondev/react-native-web-swiper/issues/56