Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for svg components #299

Open
alighafoorzade opened this issue Aug 11, 2023 · 0 comments
Open

add support for svg components #299

alighafoorzade opened this issue Aug 11, 2023 · 0 comments

Comments

@alighafoorzade
Copy link

alighafoorzade commented Aug 11, 2023

To enable maintainability and customizable SVGs, some projects opt to create a dedicated component for each icon and encapsulate the SVG code within. A sample code snippet for this approach is shown below:
const AvatarIcon = () => { return <svg> <path>...<path> . . . </svg> }
Are there any workarounds or techniques to optimize these assets? If not, I believe it would be valuable to explore potential optimizations. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant