1.0.8 • Published 5 years ago

react-icons-wrapper v1.0.8

Weekly downloads
10
License
MIT
Repository
-
Last release
5 years ago

react-icons-wrapper

A lightweight wrapper for the react-icons library. Requires React 16.3 or higher.

NPM JavaScript Style Guide

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 name={'FaBeer'} size={'3em'} color={'yellow'} />
  );
}

Available props:

License

MIT ©

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago