1.0.8 • Published 7 years ago

react-simple-line-icons v1.0.8

Weekly downloads
231
License
MIT
Repository
github
Last release
7 years ago

react-simple-line-icons

Simple react component for using simple-line-icons in React application.

Installation

react-simple-line-icons is available as an npm package.

npm install react-simple-line-icons

or

yarn add react-simple-line-icons

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import SimpleLineIcon from 'react-simple-line-icons';

function App() {
  return (
    <SimpleLineIcon name="bulb" />
  );
}

ReactDOM.render(<App />, document.getElementById('root'));

Options

PropertyTypeValuesDescription
nameStringe.g. bulbthe name of the icon, see simple-line-icons for list of all avaliable icons
colorStringe.g. whitethe color of the icon
sizeStringLarge, Medium, Smallthe size of the icon
styleObjectcustom style object

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

License

This project is licensed under the terms of the MIT license

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.0

9 years ago