Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BlackRam-oss opened this issue Oct 9, 2024 · 2 comments

Comments

@BlackRam-oss
Copy link

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/>
@crawwwler
Copy link

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

@BlackRam-oss
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants