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
Uh oh!
There was an error while loading. Please reload this page.
-
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 inclassNames 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
mergeoption forexpandProps, so it would keep both.Beta Was this translation helpful? Give feedback.
All reactions