Skip to content

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

Open
@MwSpaceLLC

Description

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)
          }
      />

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions