Simple Line Icons React Component
npm install react-simple-line-iconsSimple react component for using simple-line-icons in React application.
``sh`
npm install react-simple-line-icons`
orsh`
yarn add react-simple-line-icons
jsx
import React from 'react';
import ReactDOM from 'react-dom';
import SimpleLineIcon from 'react-simple-line-icons';function App() {
return (
);
}
ReactDOM.render( , document.getElementById('root'));
``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
Please open an issue for support.
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.
This project is licensed under the terms of the
MIT license