react-simple-line-icons

Simple Line Icons React Component

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-simple-line-icons
511.0.86 years ago8 years agoMinified + gzip package size for react-simple-line-icons in KB

Readme

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

Property |Type |Values | Description |:---|:---|:---|:---- name | String | e.g. bulb | the name of the icon, see simple-line-icons for list of all avaliable icons color | String | e.g. white | the color of the icon size | String | Large, Medium, Small | the size of the icon style | Object | | custom 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