Skip to content

Commit

Permalink
refactor: add CIcon example in _nav.js
Browse files Browse the repository at this point in the history
  • Loading branch information
woothu committed Jul 30, 2020
1 parent 68ce41d commit be5d1f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/containers/_nav.js
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit be5d1f0

Please sign in to comment.