Skip to content

Commit d7ecc4f

Browse files
committed
chore(demo): update style.css to @coreui/coreui v2.1.0, navLink disabled example
1 parent 38df53a commit d7ecc4f

File tree

2 files changed

+303
-239
lines changed

2 files changed

+303
-239
lines changed

demo/src/_nav.js

+22-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,27 @@ export default {
88
variant: 'info',
99
text: 'NEW'
1010
}
11-
}
11+
},
12+
{
13+
name: 'Disabled',
14+
url: '/dashboard',
15+
icon: 'cui-ban icons',
16+
attributes: { disabled: true },
17+
},
18+
{
19+
name: 'Download CoreUI',
20+
url: 'https://coreui.io/react/',
21+
icon: 'cui-cloud-download icons',
22+
class: 'mt-auto',
23+
variant: 'success',
24+
attributes: { target: '_blank', rel: "noopener" },
25+
},
26+
{
27+
name: 'Try CoreUI PRO',
28+
url: 'https://coreui.io/pro/react/',
29+
icon: 'cui-layers icons',
30+
variant: 'danger',
31+
attributes: { target: '_blank', rel: "noopener" },
32+
},
1233
]
1334
};

0 commit comments

Comments
 (0)