mirror of
https://github.com/coreui/coreui-icons.git
synced 2025-08-31 20:11:51 +02:00
921 B
921 B
@coreui/icons-react changelog
1.1.0
- chore: update to React 17
1.0.0
- 1.0.3
- 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
1.0.0-alpha.3
- test: add missing tests
- refactor: cleanup
- chore: dependencies update and cleanup
1.0.0-alpha.0
- initial version
install:
npm install @coreui/icons-react
import:
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"/>
)
}
...