File tree Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 77[ npm ] : https://www.npmjs.com/package/@coreui/icons-react
88[ npm-download ] : https://img.shields.io/npm/dm/@coreui/icons-react.svg?style=flat-square
99
10+ ##### install:
11+ ``` bash
12+ npm install @coreui/react
13+ npm install @coreui/icons-react
14+ ```
15+
16+ ##### import:
17+ ``` jsx
18+ import { CIcon , CIconRaw } from ' @coreui/icons-react' ;
19+ import { cifAu } from ' @coreui/icons' ;
20+ ```
21+ ``` scss
22+ @import ' ~@coreui/icons/css/all.css' ;
23+ ```
24+
25+ ##### usage:
26+ ``` jsx
27+ ...
28+ class CoreUIIcons extends Component {
29+ ...
30+ render () {
31+ return (
32+ < CIconRaw name= ' cifAu' size= " 2xl" / >
33+ < CIcon name= " cil-list" size= " 2xl" / >
34+ )
35+ }
36+ ...
37+ ` ` `
38+
39+ ---
40+
1041- bootstrapped with [nwb](https://github.com/insin/nwb) toolkit
1142
12- #### ` npm run ` scripts
43+ ##### ` npm run` scripts
1344
1445` package .json ` is configured with ` " scripts" ` we can use with ` npm run` while developing the project.
1546
Original file line number Diff line number Diff line change 11{
22 "name" : " @coreui/icons-react" ,
3- "version" : " 1.0.0-alpha.0 " ,
3+ "version" : " 1.0.0-alpha.1 " ,
44 "description" : " CoreUI Icons React component" ,
55 "license" : " MIT" ,
66 "homepage" : " https://coreui.io" ,
You can’t perform that action at this time.
0 commit comments