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
But the icons do not show in the toast. My question is: what is the correct way to use SVG images in the toast?
The text was updated successfully, but these errors were encountered:
YangRongAtGit
changed the title
How to use a svg file to replace the heading/trailing icons?
How to use svg files to replace the heading/trailing icons?
Sep 14, 2021
In v2.0.0, leadingIcon, trailingIcon props were replaced with renderLeadingIcon, renderTrailingIcon to gain total control over the icon layout / behavior. Read the complete changelog.
If you find any issues with the v2 implementation, feel free to reopen this issue. Thanks!
Hello,
I am trying to use some custom icons for replacing heading/trailing icons. I have something like
But the icons do not show in the toast. My question is: what is the correct way to use SVG images in the toast?
The text was updated successfully, but these errors were encountered: