File tree Expand file tree Collapse file tree 1 file changed +2
-31
lines changed
Expand file tree Collapse file tree 1 file changed +2
-31
lines changed Original file line number Diff line number Diff line change 1- interface NavAttributes {
2- [ propName : string ] : any ;
3- }
4- interface NavWrapper {
5- attributes : NavAttributes ;
6- element : string ;
7- }
8- interface NavBadge {
9- text : string ;
10- variant : string ;
11- }
12- interface NavLabel {
13- class ?: string ;
14- variant : string ;
15- }
1+ import { INavData } from '@coreui/angular' ;
162
17- export interface NavData {
18- name ?: string ;
19- url ?: string ;
20- icon ?: string ;
21- badge ?: NavBadge ;
22- title ?: boolean ;
23- children ?: NavData [ ] ;
24- variant ?: string ;
25- attributes ?: NavAttributes ;
26- divider ?: boolean ;
27- class ?: string ;
28- label ?: NavLabel ;
29- wrapper ?: NavWrapper ;
30- }
31-
32- export const navItems : NavData [ ] = [
3+ export const navItems : INavData [ ] = [
334 {
345 name : 'Dashboard' ,
356 url : '/dashboard' ,
You can’t perform that action at this time.
0 commit comments