Allow merge
for expandProps
option
#922
vincerubinetti
started this conversation in
Ideas
Replies: 1 comment
-
Looks like this has an answer here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to add a particular global CSS class name to all of my imported SVGs, e.g.
svgProps: { className: "icon" }
, but if I do this and I also want to pass inclassName
s on a per-icon basis, the latter will overwrite the global class. SettingexpandProps: "start"
just makes the overwrite in the other direction, i.e. global class but no per-icon class.It would be good if there was a
merge
option forexpandProps
, so it would keep both.Beta Was this translation helpful? Give feedback.
All reactions