diff --git a/core/src/components/alert/alert-interface.ts b/core/src/components/alert/alert-interface.ts index f6e04499b1..3f9d6cda8d 100644 --- a/core/src/components/alert/alert-interface.ts +++ b/core/src/components/alert/alert-interface.ts @@ -48,6 +48,7 @@ export interface AlertButton { role?: 'cancel' | 'destructive' | string; cssClass?: string | string[]; id?: string; + htmlAttributes?: { [key: string]: any }; // TODO(FW-2832): type handler?: (value: any) => AlertButtonOverlayHandler | Promise; } diff --git a/core/src/components/alert/alert.tsx b/core/src/components/alert/alert.tsx index 8ce5094492..4b89c605f6 100644 --- a/core/src/components/alert/alert.tsx +++ b/core/src/components/alert/alert.tsx @@ -666,6 +666,7 @@ export class Alert implements ComponentInterface, OverlayInterface {
{buttons.map((button) => (