casesandberg/react-color

HuePicker2: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

BlackRam-oss opened this issue · 2 comments

hello update the library to the latest update, the HuePicker element gives me the following error.

HuePicker2: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

I also tried to remove all the props, but it still gives an error.

<HuePicker/>

I have the same exact issue when i wanted to use SketchPicker. i think it should be fixed upstream and there's nothing we can do about it so i wanted to know if the devs of this project are aware of this issue and is there any plan to fix it ? thanks

hello I saw that they haven't developed this project for 4 years.
I started using this https://www.npmjs.com/package/react-color-palette