You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having two components, NavIconLink and AnchorDefault I pass styleName to the AnchorDefault, but also there might be a className from the props spread that will be passed as well.
In this case of className is passed - whatever was transformed from styleName to className get's overwritten by passed className from the spread.
seems like this is because of props = _objectWithoutProperties(_ref, ["label", "icon", "className"]); having className included @gajus any thoughts on that?
I tried to modify plugin code, but without success so far
Having two components,
NavIconLink
andAnchorDefault
I passstyleName
to theAnchorDefault
, but also there might be aclassName
from the props spread that will be passed as well.In this case of
className
is passed - whatever was transformed fromstyleName
toclassName
get's overwritten by passedclassName
from the spread.Compiled part
The current workaround is to manually write
className
prop and set it.The text was updated successfully, but these errors were encountered: