@simonmeusel/react-ionicons
v0.4.0
Published
npm package exporting Ionicons v4 SVGs as react components
Downloads
5
Maintainers
Readme
react-ionicons
npm package exporting Ionicons v4 SVGs as react components.
Usage
- Install peer dependencies:
npm install react react-dom
- Install this library:
npm install @simonmeusel/react-ionicons
- 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.