Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 921 Bytes

File metadata and controls

49 lines (42 loc) · 921 Bytes
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"/>
    )
}
...