Function to be called when the button is pressed.
Determines if the button should be displayed.
OptionalbackgroundThe background color of the button.
OptionaldisabledDetermines if the button should be disabled.
OptionaliconThe name of the FontAwesome5 icon to be displayed on the button.
OptionaliconThe style to be applied to the icon.
OptionaltextThe text to be displayed on the button.
OptionaltextThe style to be applied to the text.
OptionalcustomA custom component to be rendered inside the button instead of icon and text.
Interface defining the structure of each custom button.