diff --git a/core/src/components/alert/alert-interface.ts b/core/src/components/alert/alert-interface.ts index 898ca322e8..370943d0a7 100644 --- a/core/src/components/alert/alert-interface.ts +++ b/core/src/components/alert/alert-interface.ts @@ -44,7 +44,7 @@ export interface AlertInputAttributes extends JSXBase.InputHTMLAttributes boolean | void | {[key: string]: any}; } diff --git a/core/src/components/alert/readme.md b/core/src/components/alert/readme.md index ab4dbc9a79..a7e30e6f61 100644 --- a/core/src/components/alert/readme.md +++ b/core/src/components/alert/readme.md @@ -48,7 +48,7 @@ Any of the defined [CSS Custom Properties](#css-custom-properties) can be used t ```typescript interface AlertButton { text: string; - role?: string; + role?: 'cancel' | 'destructive' | string; cssClass?: string | string[]; handler?: (value: any) => boolean | void | {[key: string]: any}; }