refactor: add CIcon example in _nav.js
This commit is contained in:
parent
68ce41db68
commit
be5d1f0618
@ -1,9 +1,12 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import CIcon from '@coreui/icons-react'
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
_tag: 'CSidebarNavItem',
|
_tag: 'CSidebarNavItem',
|
||||||
name: 'Dashboard',
|
name: 'Dashboard',
|
||||||
to: '/dashboard',
|
to: '/dashboard',
|
||||||
icon: 'cil-speedometer',
|
icon: <CIcon name="cil-speedometer" customClasses="c-sidebar-nav-icon"/>,
|
||||||
badge: {
|
badge: {
|
||||||
color: 'info',
|
color: 'info',
|
||||||
text: 'NEW',
|
text: 'NEW',
|
||||||
|
Loading…
Reference in New Issue
Block a user