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:
Dominik Geng
2021-07-23 18:46:01 +02:00
committed by GitHub
parent fffef8acd2
commit df24c8c5ae
11 changed files with 72 additions and 15 deletions

View File

@ -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.
*/