design-react-kit icon indicating copy to clipboard operation
design-react-kit copied to clipboard

[BUG] - Icon component did not rerender correctly

Open sebbalex opened this issue 2 years ago • 0 comments

Describe the bug I would like to change an Icon when a local boolean state changes. The whole component seems rerender correctly but the icon refuses to change

To Reproduce See this codesandbox

Expected behavior I expect the icon change by selecting the checkbox

Please note This only happens with design-react-kit v4.0.2, switching to v3.3.3 bug not appears.

sebbalex avatar May 18 '22 16:05 sebbalex