Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 962 Bytes

File metadata and controls

36 lines (27 loc) · 962 Bytes

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