instea / react-native-color-picker

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

onColorSelected prototype claims (color: HsvColor) arg, but it's actually (color: string) #18

Closed seasox closed 4 years ago

seasox commented 4 years ago

The exported IPicker interface has HsvColor as argument for onColorSelected: onColorSelected: (selectedColor: HsvColor) => void; But the argument is actually a string (tinycolor(...).toHexString()), which makes TypeScript sad. Will file a PR later this week.

Merry Christmas!

sodik82 commented 4 years ago

thanks

sodik82 commented 4 years ago

should be fixed in '0.5.0'