@simonmeusel/react-ionicons

0.4.0 • Public • Published

react-ionicons

npm package exporting Ionicons v4 SVGs as react components.

Usage

  1. Install peer dependencies:

npm install react react-dom

  1. Install this library:

npm install @simonmeusel/react-ionicons

  1. Import and use icon components:
import { IosAdd } from "@simonmeusel/react-ionicons/IosAdd";
import { MdAddCircle } from "@simonmeusel/react-ionicons/MdAddCircle";
import { LogoNpm } from "@simonmeusel/react-ionicons/LogoNpm";

const elements = (
    <div>
        <IosAdd />
        <MdAddCircle />
        <LogoNpm />
    </div>
);

TypeScript

This library is developed in TypeScript and includes declaration files.

License

This library is licensed under the MIT license. See license of Ionicons at GitHub.

Package Sidebar

Install

npm i @simonmeusel/react-ionicons

Weekly Downloads

1

Version

0.4.0

License

MIT

Unpacked Size

2.66 MB

Total Files

2093

Last publish

Collaborators

  • simonmeusel