react-native-deck-swiper icon indicating copy to clipboard operation
react-native-deck-swiper copied to clipboard

Fix props type definition for React 18

Open greeeg opened this issue 2 years ago • 2 comments

This PR fixes an issue related to using this component in a project with React 18 where the children prop is not included by default by the Component class, causing the following error:

Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Swiper> & Readonly<{}>'

greeeg avatar Nov 02 '23 08:11 greeeg

Are there any problems with this PR, I am facing the same problem and think this should be merged

wr1159 avatar Jul 21 '25 07:07 wr1159

@greeeg @wr1159 in order to get this merged and release, please bump the package's patch version and let me know.

webraptor avatar Jul 22 '25 06:07 webraptor