Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-simple-line-icons

shahafa494MIT1.0.8

Simple Line Icons React Component

simple-line-icons, simple line icons, icons, react

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