mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
feat(toast): add icon property to show icon at start of toast content (#23596)
resolves #23524 Co-authored-by: William Martin <contact@willmartin.dev> Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
8
core/src/components.d.ts
vendored
8
core/src/components.d.ts
vendored
@ -2770,6 +2770,10 @@ export namespace Components {
|
||||
* Header to be shown in the toast.
|
||||
*/
|
||||
"header"?: string;
|
||||
/**
|
||||
* The name of the icon to display, or the path to a valid SVG file. See `ion-icon`. https://ionic.io/ionicons
|
||||
*/
|
||||
"icon"?: string;
|
||||
/**
|
||||
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
||||
*/
|
||||
@ -6366,6 +6370,10 @@ declare namespace LocalJSX {
|
||||
* Header to be shown in the toast.
|
||||
*/
|
||||
"header"?: string;
|
||||
/**
|
||||
* The name of the icon to display, or the path to a valid SVG file. See `ion-icon`. https://ionic.io/ionicons
|
||||
*/
|
||||
"icon"?: string;
|
||||
/**
|
||||
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user