@coreui/icons-react changelog
- chore: update to React 17
- refactor: improve 'unregistered icon' error message
- fix: change 'replaceAll' func to 'replace' due to transpilation error
- test: more coverage
- fix: typings
- fix: tests, lint, export
- refactor: cleanup
- chore: dependencies update
- test: add missing tests
- refactor: cleanup
- chore: dependencies update and cleanup
- initial version
install:
npm install @coreui/icons-reactimport:
import { CIcon, CIconRaw } from '@coreui/icons-react';
import { cifAu } from '@coreui/icons';@import '~@coreui/icons/css/all.css';usage:
...
class CoreUIIcons extends Component {
...
render() {
return (
<CIconRaw name='cifAu' size="2xl"/>
<CIcon name="cil-list" size="2xl"/>
)
}
...