react-functional-simple-line-icons

0.1.5 • Public • Published

react-functional-simple-line-icons

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

This repository is related to other repo - react-simple-line-icons. Unfortunatelly this repository is not maintained and it have vulnerable version of React. For that I made similar project, just added newer version of React and I added peerDependencies.

Installation

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

npm install react-functional-simple-line-icons

or

yarn add react-functional-simple-line-icons

Usage

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

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

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <App />
);

Contributing

All contributions are welcomed!

License

This project is licensed under the terms of the MIT license

Package Sidebar

Install

npm i react-functional-simple-line-icons

Weekly Downloads

3

Version

0.1.5

License

MIT

Unpacked Size

5.4 kB

Total Files

6

Last publish

Collaborators

  • damyanbg