react-functional-simple-line-icons
v0.1.5
Published
Simple Line Icons React Functional Component
Downloads
17
Maintainers
Readme
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