Skip to content

Annoying warning with now unknown Props when using ProgressBar v2 #36

@NathanaelA

Description

@NathanaelA

Since upgrading from v1 to v2, I am now seeing this in my log anytime I create a progress bar:

<CustomShapeProgressBar> was created with unknown prop 'series'
<CustomShapeProgressBar> was created with unknown prop 'valueLabel'

It appears because you do ...props you are passing the values from the parent into the and it doesn't have those props. Even though you don't use them inside the customShapeProgressBar, I think just exporting those two props from CustomShapeProgressBar would be the best solution.

Metadata

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