mirror of https://github.com/abpframework/abp.git
Browse Source
Icon customization properties added to confirmation popup. Issue #11511pull/11610/head
committed by
GitHub
9 changed files with 120 additions and 29 deletions
@ -0,0 +1,21 @@ |
|||
import { InjectionToken } from '@angular/core'; |
|||
|
|||
export interface ConfirmationIcons { |
|||
info: string; |
|||
success: string; |
|||
warning: string; |
|||
error: string; |
|||
default: string; |
|||
} |
|||
|
|||
export const CONFIRMATION_ICONS = new InjectionToken<Partial<ConfirmationIcons>>( |
|||
'CONFIRMATION_ICONS', |
|||
); |
|||
|
|||
export const DEFAULT_CONFIRMATION_ICONS: ConfirmationIcons = { |
|||
info: 'fa fa-info-circle', |
|||
success: 'fa fa-check-circle', |
|||
warning: 'fa fa-exclamation-triangle', |
|||
error: 'fa fa-times-circle', |
|||
default: 'fa fa-question-circle', |
|||
}; |
|||
Loading…
Reference in new issue