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 39
39
},
40
40
"dependencies" : {
41
41
"@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 " ,
43
43
"@coreui/utils" : " ~1.3.1" ,
44
44
"@popperjs/core" : " ~2.4.0" ,
45
45
"classnames" : " ~2.2.6" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import classNames from 'classnames'
4
4
import CPagination from '../pagination/CPagination'
5
5
import CElementCover from '../element-cover/CElementCover'
6
6
import style from './CDataTable.module.css'
7
- import { CIconRaw } from '@coreui/icons-react'
7
+ import CIcon from '@coreui/icons-react'
8
8
import { cilArrowTop , cilBan } from '@coreui/icons'
9
9
10
10
//component - CoreUI / CTable
@@ -364,7 +364,7 @@ const CDataTable = props => {
364
364
{
365
365
isSortable ( index ) &&
366
366
( ( sortingIconSlot && sortingIconSlot ( getIconState ( index ) , iconClasses ( index ) ) ) ||
367
- < CIconRaw
367
+ < CIcon
368
368
customClasses = { classNames ( iconClasses ( index ) ) }
369
369
width = { 18 }
370
370
content = { cilArrowTop }
@@ -510,7 +510,7 @@ const CDataTable = props => {
510
510
< div className = "text-center my-5" >
511
511
< h2 >
512
512
{ noItemsText }
513
- < CIconRaw
513
+ < CIcon
514
514
width = "30"
515
515
name = "cilBan"
516
516
content = { cilBan }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import React, {
6
6
} from 'react'
7
7
import PropTypes from 'prop-types'
8
8
import classNames from 'classnames'
9
- import { CIconRaw } from '@coreui/icons-react'
9
+ import CIcon from '@coreui/icons-react'
10
10
import { useLocation } from 'react-router-dom'
11
11
12
12
import { Context } from './CSidebar'
@@ -100,7 +100,7 @@ const CSidebarNavDropdown = props => {
100
100
ref = { ref }
101
101
>
102
102
< a className = "c-sidebar-nav-dropdown-toggle" onClick = { toggle } >
103
- { icon && < CIconRaw { ...iconProps ( icon ) } /> }
103
+ { icon && < CIcon { ...iconProps ( icon ) } /> }
104
104
{ fontIcon && < i className = { iconClasses } /> }
105
105
{ name }
106
106
</ a >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React from 'react'
2
2
import PropTypes from 'prop-types'
3
3
import classNames from 'classnames'
4
4
import { CLink , CBadge } from '../index'
5
- import { CIconRaw } from '@coreui/icons-react'
5
+ import CIcon from '@coreui/icons-react'
6
6
import { iconProps } from './CSidebarNavDropdown'
7
7
8
8
//component - CoreUI / CSidebarNavItem
@@ -42,7 +42,7 @@ const CSidebarNavItem = props => {
42
42
{ ...routerLinkProps }
43
43
{ ...rest }
44
44
>
45
- { icon && < CIconRaw { ...iconProps ( icon ) } /> }
45
+ { icon && < CIcon { ...iconProps ( icon ) } /> }
46
46
{ fontIcon && < i className = { `c-sidebar-nav-icon ${ fontIcon } ` } /> }
47
47
{ name }
48
48
{ badge && < CBadge { ...{ ...badge , text : null } } > { badge . text } </ CBadge > }
You can’t perform that action at this time.
0 commit comments