Move all the RED_EXCLAMATION badges to a single definition
This commit is contained in:
parent
9227618b42
commit
4be9c51dad
5 changed files with 7 additions and 11 deletions
|
@ -18,6 +18,8 @@ import { NotificationColor } from "./NotificationColor";
|
|||
import { NotificationState } from "./NotificationState";
|
||||
|
||||
export class StaticNotificationState extends NotificationState {
|
||||
public static readonly RED_EXCLAMATION = StaticNotificationState.forSymbol("!", NotificationColor.Red);
|
||||
|
||||
constructor(symbol: string, count: number, color: NotificationColor) {
|
||||
super();
|
||||
this._symbol = symbol;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue