Socket
Socket
Sign inDemoInstall

react-icons-converter

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-icons-converter

SVG icon converter to format required for use with react-icons package


Version published
Weekly downloads
310
decreased by-0.96%
Maintainers
1
Weekly downloads
 
Created
Source

react-icons-converter

SVG icon converter to format required for use with react-icons package.

The source code was taken from react-icons/logics.js file and modified. The package name inspired by react-icons-converter.

¯\(ツ)

Installation

  • npm i react-icons-converter

Usage example

import { GenIcon } from 'react-icons';
import { createIconTreeFromSVG } from 'react-icons-converter';

const SVGSource = ` /* here will be the source code of your svg icon */ `;

const IconTree = createIconTreeFromSVG(SVGSource);

export const Icon = GenIcon(IconTree);

See also

Keywords

FAQs

Package last updated on 21 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc