mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
feat(toast): optionally render ion-icon from asset path if provided (#18969)
This commit is contained in:
committed by
Adam Bradley
parent
3e1dfc657b
commit
23f327ecb6
@ -243,7 +243,7 @@ export class Toast implements ComponentInterface, OverlayInterface {
|
||||
<div class="toast-button-inner">
|
||||
{b.icon &&
|
||||
<ion-icon
|
||||
name={b.icon}
|
||||
icon={b.icon}
|
||||
slot={b.text === undefined ? 'icon-only' : undefined}
|
||||
class="toast-icon"
|
||||
/>}
|
||||
|
||||
Reference in New Issue
Block a user