File tree 2 files changed +33
-2
lines changed
Filter options
2 files changed +33
-2
lines changed
Original file line number Diff line number Diff line change 7
7
[ npm ] : https://www.npmjs.com/package/@coreui/icons-react
8
8
[ npm-download ] : https://img.shields.io/npm/dm/@coreui/icons-react.svg?style=flat-square
9
9
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
+
10
41
- bootstrapped with [nwb](https://github.com/insin/nwb) toolkit
11
42
12
- #### ` npm run ` scripts
43
+ ##### ` npm run` scripts
13
44
14
45
` package .json ` is configured with ` " scripts" ` we can use with ` npm run` while developing the project.
15
46
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @coreui/icons-react" ,
3
- "version" : " 1.0.0-alpha.0 " ,
3
+ "version" : " 1.0.0-alpha.1 " ,
4
4
"description" : " CoreUI Icons React component" ,
5
5
"license" : " MIT" ,
6
6
"homepage" : " https://coreui.io" ,
You can’t perform that action at this time.
0 commit comments