mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
chore: sync with main
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import type { AnimationBuilder, Color, Mode } from '../../interface';
|
||||
import type { AnimationBuilder, Color, LiteralUnion, Mode } from '../../interface';
|
||||
import type { IonicSafeString } from '../../utils/sanitization';
|
||||
|
||||
export interface ToastOptions {
|
||||
@ -31,8 +31,7 @@ export interface ToastButton {
|
||||
text?: string;
|
||||
icon?: string;
|
||||
side?: 'start' | 'end';
|
||||
role?: 'cancel' | string;
|
||||
|
||||
role?: LiteralUnion<'cancel', string>;
|
||||
htmlAttributes?: { [key: string]: any };
|
||||
handler?: () => boolean | void | Promise<boolean | void>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user