-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
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
- This is the V4 code and this is the V4 Icon component
cssInterop(IconStyled, {
className: {
target: "style",
nativeStyleToProp: {
height: "size",
width: "size",
},
},
});
- This is the V5 code and this is V5 Icon component
styled(IconStyled, {
className: {
target: "style",
nativeStyleToProp: {
height: "size",
width: "size",
},
},
});
How can I make it work?
IderAghbal, jontroncoso, pvinis and kingcarol1
Metadata
Metadata
Assignees
Labels
No labels