1.0.0 • Published 6 months ago

magicon v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Magicon

Table of Contents

Website

Visit website to view icons

Installation

# install dependencies
$ npm i magicon

Or via yarn:

yarn add magicon

Usage Examples

import React from "react";
//import icon.
import { AlarmClock } from "magicon";

const Example = () => {
  // then use it as a normal React Component
  return <AlarmClock />;
};

Control Icon Props

Adjust the props of your icons by passing a inline prop:

import { AlarmClock } from "magicon";

<AlarmClock variant="filled" size={32} color="#eee" />;

Props

PropTypeDefaultNote
colorstringcurrentColorcolor
sizenumber string24pxsize={24} or size="24"
variantoutline filledoutlineicons styles
classstringicons class

1.0.0

6 months ago

0.0.5

6 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago