instea / react-native-color-picker

Color picker component for IOS/Android
Apache License 2.0
272 stars 67 forks source link

IPicker type declarations problem #33

Closed artus9033 closed 3 years ago

artus9033 commented 3 years ago

It seems like there are a few properties (onColorChange, onColorSelected, defaultColor, color) declared as required in IPicker, although even the example usage snippet shows they are optional and so does runtime. This triggers code assist to treat omitting them as an error.

sodik82 commented 3 years ago

can you try 0.6.0-rc.1 (based on your PR) if it is working fine?

artus9033 commented 3 years ago

Yup, indeed it fixes this problem, I will close the issue after it is merged into master