So i am using react-navigation in my react-native project with typescript and redux but when i an setting a the contentComponent prop for the drawerNavigator i am getting this error in typescript.
Type 'ConnectedComponentClass<SomeClass>' is not assignable to type 'ComponentType<DrawerItemsProps>'
Type 'SomeClass' is missing the following properties from type 'DrawerItemsProps': navigation, items, getLabel, renderIcon, and 2 more.
.
Is there any workaround for the same.
Any help on the same would be highly appreciated.