8000 chore(demo): update style.css to `@coreui/coreui v2.1.0`, navLink `di… · junior1296/coreui-react@d7ecc4f · GitHub
[go: up one dir, main page]

Skip to content

Commit d7ecc4f

Browse files
< 8000 div class="Box-sc-g0xbh4-0 dpBUfI color-fg-muted">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

Lines changed: 22 additions & 1 deletion
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)
0