I am trying to use USE tag as its is given in many slds docs,
Here is how it is given in SLDS doc
<svg class="slds-button__icon" aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#success"></use>
</svg>
Here is how I tried using
- Tried using svgIcon component, but no success.
Tried HTML but no success
<c:svgIcon svgPath="/assets/icons/utility-sprite/svg/symbols.svg#success"><c/:svgIcon>
Please let me know what should be used other then "use" tag as salesforce doesn't support that I guess.