1.1.1 • Published 4 years ago
awicons-react v1.1.1
AwIcons-react
Easily add Awesome Icons to your project.
You can see all icons here
Install npm package on your React Project
npm install awicons-react
Props
Props | Description |
---|---|
iconName | required take from here |
className | pass className to define style rules on your scss file |
style | define inline style rules |
onClick | onClick arrow function |
Use AwIcon functional component in your file in this way:
import AwIcon from "awicons-react";
<AwIcon
iconName="angle-left"
className={style.icon}
style={{ padding: 12px }}
onClick={this._goTo}
/>
Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
- License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)