ButtonIcon API
Import
Props
It receives the same props of <Button />
except
iconStart
and iconEnd
.
Additionally, it can receive all attributes/props of a button
element
children
(required)
Icon to display.
Type: ReactNode
CSS Variables
It uses the same CSS Variables of <Button/>
CSS Classes
button--icon
Stylize the button to fit an icon.
Additionally, it uses the same CSS Classes of <Button />