React Suite Button Icon
Button Icon component is used when we want to use an icon as a button, It has an icon property that is used to specify the icon of the Button. It is a part of Button Component from the React Suite.
React Suite Button Icon Syntax:
<IconButton icon={<TwitterIcon />}> Twitter </IconButton>
React Suite Button Icon Props:
- icon: This property of the IconButton component is used to specify the icon we want to use.
- color: This property of the IconButton component is used to change the color of the button. The color property can have any one of seven values: red, orange, yellow, green, cyan, blue, or violet.
React Suite Button Icon
React Suite Button Icon allows to use of an Icon as a Button. The Button component is used to fire an action when the user clicks the button.