-
-
Notifications
You must be signed in to change notification settings - Fork 425
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
Integration with Material-UI SvgIcon #358
Comments
I did the same and to make it work I used
|
@tkomstadius solution seems pretty good! A custom template is the best way to do it. |
any ideas on how to keep the things from when you run icon?
|
does this look reasonable?
? |
ended up with:
|
To anyone who wants a full solution on how to integrate SVGR with MUI, |
Hi,
I'm trying to write a custom template that will wrap the svg jsx content inside a SvgIcon component.
This is the custom template I tried to use:
However, I get an error:
I searched the issues for any possible solution but could not find one.
Could you please assist me?
Thanks !
The text was updated successfully, but these errors were encountered: