This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

react-icons-converter
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i react-icons-converter

Weekly Downloads

332

Version

1.1.4

License

MIT

Unpacked Size

12.5 kB

Total Files

7

Last publish

Collaborators

  • e965