Icon
To display desired icon write it's name to icon
prop.
#
ColorGive color to icon by color
prop.
#
SizeChange icon size by size
prop.
#
ActiveWhen there's active
prop, it displays black icon.
#
APIName | Type | Default | Description |
---|---|---|---|
icon | string | Define icon | |
size | number | Changes icon size | |
style | any | Gives custom style to icon | |
color | string | black | Changes icon color |
isActive | boolean | false | Make the icon color black |
onClick | function | Define click handler function |