@asphalt-react/icontuner

1.19.0 • Public • Published

Icontuner

Icontuner can tune the size or color of any icons from @asphalt-react/iconpack

Supported variants:

  • warning
  • danger
  • info
  • success
  • muted
  • brand
  • disabled

Usage

import Icontuner from "@asphalt-react/icontuner
import {Trash} from "@asphalt-react/iconpack

<IconTuner>
   <Trash/>
</IconTuner>

Props

children

Icon

type required default
node true N/A

size

size of the icon. accepts s, m for small & medium

type required default
enum false "m"

danger

Applies danger style color to icon

type required default
bool false N/A

warning

Applies warning style color to icon

type required default
bool false N/A

info

Applies info style color to icon

type required default
bool false N/A

success

Applies success style color to icon

type required default
bool false N/A

muted

Applies muted style color to icon

type required default
bool false N/A

brand

Applies brand style color to icon

type required default
bool false N/A

disabled

Applies disabled style color to icon

type required default
bool false N/A

Package Sidebar

Install

npm i @asphalt-react/icontuner

Weekly Downloads

30

Version

1.19.0

License

UNLICENSED

Unpacked Size

13.6 kB

Total Files

6

Last publish

Collaborators

  • shripriya.bhat
  • dawn29
  • itsjay26
  • sayantan1211
  • abhinav.preetu