I wish to add a icon (like approval icon) inside this button itself.Can anybody suggest how can we do it?<button class="custButton" data-title="Some Title" onclick={handleButtonClick}>ClickMe</button>
2 件の回答
Hi Chandfra,
Below url will help for your solutionhttps://www.lightningdesignsystem.com/components/button-icons/ if you need any assistanse, Please let me know!!Kindly mark my solution as the best answer if it helps you.ThanksMukesh<button class="slds-button slds-button_icon slds-button_icon-brand" title="approval">
<svg class="slds-button__icon" aria-hidden="true">
<use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg⌗approval"></use>
</svg>
</button>