mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
feat(toast): add "color" prop (#16100)
This commit also refactors ion-toast, so it uses shadow-dom, this is required since CSS variables does not work well in non-shadow-dom components. fixes #16099
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { AnimationBuilder, TextFieldTypes } from '../../interface';
|
||||
import { AnimationBuilder, Mode, TextFieldTypes } from '../../interface';
|
||||
|
||||
export interface AlertOptions {
|
||||
header?: string;
|
||||
@ -11,7 +11,7 @@ export interface AlertOptions {
|
||||
translucent?: boolean;
|
||||
animated?: boolean;
|
||||
|
||||
mode?: string;
|
||||
mode?: Mode;
|
||||
keyboardClose?: boolean;
|
||||
id?: string;
|
||||
|
||||
|
Reference in New Issue
Block a user