Skip to content

simonmeusel/react-ionicons

Repository files navigation

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.

About

npm package exporting Ionicons v4 SVGs as react components

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE-IONICONS

Stars

Watchers

Forks

Packages

No packages published