I need to display a button which will display a text along with icon. I tried similar to below code
<lightning-button label="Delete">
<lightning:icon icon-name="action:delete" size="small" class="icon">
</lightning:icon>
</lightning-button>
But its displaying button with only text inside it. Is there any way to add both text and icon inside the button?