Function to be called when the button is pressed.
Determines if the button should be displayed.
Optional
backgroundThe background color of the button.
Optional
disabledDetermines if the button should be disabled.
Optional
iconThe name of the FontAwesome5 icon to be displayed on the button.
Optional
iconThe style to be applied to the icon.
Optional
textThe text to be displayed on the button.
Optional
textThe style to be applied to the text.
Optional
customA custom component to be rendered inside the button instead of icon and text.
Interface defining the structure of each custom button.