File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 3939 },
4040 "dependencies" : {
4141 "@coreui/icons" : " ^2.0.0-beta.3" ,
42- "@coreui/icons-react" : " ^1.0.0-beta.5 " ,
42+ "@coreui/icons-react" : " ^1.0.0-rc.1 " ,
4343 "@coreui/utils" : " ~1.3.1" ,
4444 "@popperjs/core" : " ~2.4.0" ,
4545 "classnames" : " ~2.2.6" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import classNames from 'classnames'
44import CPagination from '../pagination/CPagination'
55import CElementCover from '../element-cover/CElementCover'
66import style from './CDataTable.module.css'
7- import { CIconRaw } from '@coreui/icons-react'
7+ import CIcon from '@coreui/icons-react'
88import { cilArrowTop , cilBan } from '@coreui/icons'
99
1010//component - CoreUI / CTable
@@ -364,7 +364,7 @@ const CDataTable = props => {
364364 {
365365 isSortable ( index ) &&
366366 ( ( sortingIconSlot && sortingIconSlot ( getIconState ( index ) , iconClasses ( index ) ) ) ||
367- < CIconRaw
367+ < CIcon
368368 customClasses = { classNames ( iconClasses ( index ) ) }
369369 width = { 18 }
370370 content = { cilArrowTop }
@@ -510,7 +510,7 @@ const CDataTable = props => {
510510 < div className = "text-center my-5" >
511511 < h2 >
512512 { noItemsText }
513- < CIconRaw
513+ < CIcon
514514 width = "30"
515515 name = "cilBan"
516516 content = { cilBan }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import React, {
66} from 'react'
77import PropTypes from 'prop-types'
88import classNames from 'classnames'
9- import { CIconRaw } from '@coreui/icons-react'
9+ import CIcon from '@coreui/icons-react'
1010import { useLocation } from 'react-router-dom'
1111
1212import { Context } from './CSidebar'
@@ -100,7 +100,7 @@ const CSidebarNavDropdown = props => {
100100 ref = { ref }
101101 >
102102 < a className = "c-sidebar-nav-dropdown-toggle" onClick = { toggle } >
103- { icon && < CIconRaw { ...iconProps ( icon ) } /> }
103+ { icon && < CIcon { ...iconProps ( icon ) } /> }
104104 { fontIcon && < i className = { iconClasses } /> }
105105 { name }
106106 </ a >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react'
22import PropTypes from 'prop-types'
33import classNames from 'classnames'
44import { CLink , CBadge } from '../index'
5- import { CIconRaw } from '@coreui/icons-react'
5+ import CIcon from '@coreui/icons-react'
66import { iconProps } from './CSidebarNavDropdown'
77
88//component - CoreUI / CSidebarNavItem
@@ -42,7 +42,7 @@ const CSidebarNavItem = props => {
4242 { ...routerLinkProps }
4343 { ...rest }
4444 >
45- { icon && < CIconRaw { ...iconProps ( icon ) } /> }
45+ { icon && < CIcon { ...iconProps ( icon ) } /> }
4646 { fontIcon && < i className = { `c-sidebar-nav-icon ${ fontIcon } ` } /> }
4747 { name }
4848 { badge && < CBadge { ...{ ...badge , text : null } } > { badge . text } </ CBadge > }
You can’t perform that action at this time.
0 commit comments