0.0.1 • Published 2 years ago

@mochicons/react v0.0.1

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

@mochicons/react

Installation

Add this package to your project using yarn:

$ yarn add react @mochicons/react

Usage

This package exports each icon individually as named exports, so you can import the icons that you really need for your project:

import React from "react";
import {CheckIcon} from "@mochicons/react";

export const App = () => (
    <CheckIcon />
);

Customize icons

You can use the color and font-size properties of CSS to customize the icon color and size:

import React from "react";
import {HomeIcon} from "@mochicons/react";

export const App = () => (
    <span style={{color: "blue", fontSize: "32px"}}>
        <HomeIcon />    
    </span>
);

License

Under the MIT LICENSE.