We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9016798 commit ae9f1abCopy full SHA for ae9f1ab
core/src/components/toast/toast-interface.ts
@@ -25,11 +25,17 @@ export interface ToastOptions {
25
26
export type ToastLayout = 'baseline' | 'stacked';
27
28
+// TODO FW-4923 remove cssClass property
29
+
30
export interface ToastButton {
31
text?: string;
32
icon?: string;
33
side?: 'start' | 'end';
34
role?: 'cancel' | string;
35
36
+ /**
37
+ * @deprecated Use the toast button's CSS Shadow Parts instead.
38
+ */
39
cssClass?: string | string[];
40
htmlAttributes?: { [key: string]: any };
41
handler?: () => boolean | void | Promise<boolean | void>;
0 commit comments