refactor: add CIcon example in _nav.js

This commit is contained in:
woothu 2020-07-30 12:37:29 +02:00
parent 68ce41db68
commit be5d1f0618

View File

@ -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',