/react-common-icons

variable common svg icons in react

Primary LanguageTypeScriptMIT LicenseMIT

React Common Icons

Installation

npm install react-common-icons

or

yarn add react-common-icons

Usage

import React from 'react'
import { createRoot } from 'react-dom/client'
import Icon from "react-common-icons";

function App() {
  return (
    <div id="app">
      <Icon name="youtube" size={30} />
    </div>
  );
}

const container = document.getElementById('app')
const root = createRoot(container)
root.render(<App />)

Demo

yarn dev:demo

open http://localhost:1234

Welcome PR

If you need some icons, welcome PR

License

MIT