Skip to content

Commit 108cccb

Browse files
committedSep 24, 2019
refactor(sidebar): move INavData interface to @coreui/angular library - thanks @Fredx87 #72
1 parent afb8add commit 108cccb

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
 
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
export interface INavAttributes {
2+
[propName: string]: any;
3+
}
4+
5+
export interface INavWrapper {
6+
attributes: INavAttributes;
7+
element: string;
8+
}
9+
10+
export interface INavBadge {
11+
text: string;
12+
variant: string;
13+
}
14+
15+
export interface INavLabel {
16+
class?: string;
17+
variant: string;
18+
}
19+
20+
export interface INavData {
21+
name?: string;
22+
url?: string;
23+
icon?: string;
24+
badge?: INavBadge;
25+
title?: boolean;
26+
children?: INavData[];
27+
variant?: string;
28+
attributes?: INavAttributes;
29+
divider?: boolean;
30+
class?: string;
31+
label?: INavLabel;
32+
wrapper?: INavWrapper;
33+
}

0 commit comments

Comments
 (0)
Please sign in to comment.