Skip to content

HashLoader color is taken from the last HashLoader component #581

Description

@Legend999

Package Version
0.13.8

Describe the bug
HashLoader color is taken from the last HashLoader component. If we have 2 HashLoaders with different assigned colors, they will have the color of the last one.

In the following case, both loaders will be green:

<HashLoader color="red" />
<HashLoader color="green" />

To Reproduce
https://codesandbox.io/p/devbox/lucid-tom-vql768-forked-zcnzjh

Expected behavior
The first loader should be red and the second one should be green.

Screenshots
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions