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
Is your feature request related to a problem? Please describe.
Currently our clipPaths have same ID for same SVGs, so same ID can appear on multiple elements in DOM even though IDs should be unique.
Describe the solution you'd like
Create a solution that allows clipPaths ID to change, so there wouldn't be duplicate IDs.
The result
Created a new component for SVGs called SvgIcon.jsx
The component is used by giving it a parameter called svg with the argument of wanted SVG's name
Unique IDs are generated automatically, but one can also be given as parameter
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently our clipPaths have same ID for same SVGs, so same ID can appear on multiple elements in DOM even though IDs should be unique.
Describe the solution you'd like
Create a solution that allows clipPaths ID to change, so there wouldn't be duplicate IDs.
The result
The text was updated successfully, but these errors were encountered: