1.19.0 • Published 5 months ago

@asphalt-react/icontuner v1.19.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
5 months ago

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 "@aspahlt-react/iconpack

<IconTuner>
   <Trash/>
</IconTuner>

Props

children

Icon

typerequireddefault
nodetrueN/A

size

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

typerequireddefault
enumfalse"m"

danger

Applies danger style color to icon

typerequireddefault
boolfalseN/A

warning

Applies warning style color to icon

typerequireddefault
boolfalseN/A

info

Applies info style color to icon

typerequireddefault
boolfalseN/A

success

Applies success style color to icon

typerequireddefault
boolfalseN/A

muted

Applies muted style color to icon

typerequireddefault
boolfalseN/A

brand

Applies brand style color to icon

typerequireddefault
boolfalseN/A

disabled

Applies disabled style color to icon

typerequireddefault
boolfalseN/A