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 |