react-icons-wrapper
A lightweight wrapper for the react-icons
library.
Requires React 16.3 or higher.
Install
npm install --save react-icons-wrapper
Usage
Import the Icon
component and pass any icon of the react-icons
library as the name prop of the Icon
component.
A list of available icons can be found here.
import Icon from 'react-icons-wrapper' const Example = return <Icon = = = /> ;
Available props:
name
requiredsize
default1em
color
default#000
className
style