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 [
|
||||
{
|
||||
_tag: 'CSidebarNavItem',
|
||||
name: 'Dashboard',
|
||||
to: '/dashboard',
|
||||
icon: 'cil-speedometer',
|
||||
icon: <CIcon name="cil-speedometer" customClasses="c-sidebar-nav-icon"/>,
|
||||
badge: {
|
||||
color: 'info',
|
||||
text: 'NEW',
|
||||
|
Loading…
Reference in New Issue
Block a user