Skip to content

lisaparma/AwIcons-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Easily add Awesome Icons to your project.

Resources

Stars

Watchers

Forks

Packages

No packages published