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

CirclePicker | Warning: Circle: Support for defaultProps will be removed from function components #950

Open
MwSpaceLLC opened this issue Jan 9, 2025 · 2 comments

Comments

@MwSpaceLLC
Copy link

Hi there,

We have this error:

hook.js:608 Warning: Circle: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. Error Component Stack....

on:

import {CirclePicker} from "react-color";

      <CirclePicker
          width="100%"
          colors={colorsPicker}
          color={currentConfig.primaryColor}
          onChangeComplete={
              (color) => updateConfigs('primaryColor', color.hex)
          }
      />
@OmarSaidIbrahim
Copy link

+1

@mikalai-sauchanka
Copy link

Looks like this repo is abandoned. I've replaced it with https://www.npmjs.com/package/@uiw/react-color literally in 1 minute, because the interface is the same.

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

3 participants