mirror of https://github.com/abpframework/abp.git
6 changed files with 66 additions and 34 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