1.1.4 • Published 3 years ago

react-icons-converter v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago