Merge pull request #17247 from abpframework/feat/toolbar-items

AngularUI: Update NavItem model for toolbar
pull/17129/head
Mahmut Gundogdu 2 years ago committed by GitHub
commit c9e9c7c736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,8 +1,17 @@
import { Injector, Type } from '@angular/core';
import { Observable, of } from 'rxjs';
export interface Badge {
count?: number | Observable<number>;
color?: string;
icon?: string;
}
export class NavItem {
id?: string | number;
name?: string;
description?: string;
badge?: Badge;
component?: Type<any>;
html?: string;
action?: () => void;

Loading…
Cancel
Save