netbeast/react-native-color-wheel

onChange is undefined

Closed this issue · 0 comments

Hello,

When trying to implement a colour wheel into my app, the initial image renders fine, but as soon as you try to select a colour and then let go of the mouse, I get an error saying 'onChange is not a function. (In 'onChange(color)', 'onChange' is undefined), as seen in the below image.
image

I took the implementation from the docs for this package at https://www.npmjs.com/package/react-native-color-wheeland changed nothing, so not sure if there's maybe something missing? I'm relatively new to RN so this may be a small thing that I don't quite understand.

Any help would be great :)