Describe the bug
In V4, the icon displays the size and color based on size-[size] and text-[color] className. In V5, it doesn't work.
Reproduction
cssInterop(IconStyled, {
className: {
target: "style",
nativeStyleToProp: {
height: "size",
width: "size",
},
},
});
styled(IconStyled, {
className: {
target: "style",
nativeStyleToProp: {
height: "size",
width: "size",
},
},
});
How can I make it work?