customsamadicons
v1.0.13
Published
<h1 align="center">custom icons for samadiran project</h1>
Downloads
22
Readme
Project Landing
Installation
# or
npm i customsamadicons
Usage
import React from "react";
//import icon.
import { EmojiHappy } from "customsamadicon";
const Example = () => {
// then use it as a normal React Component
return <EmojiHappy color="var(--primary)" size={"medium"} />;
};
You can configure Icons with inline props:
<BackIcon color="var(--primary)" size={"medium"} />
Props
| Prop | Type | Default | Note |
| ------- | -------- | ------- | ------------------------ |
| color
| string
| none
| css variable color |
| size
| string
| none
| "small","medium","large" |