OptionalbgBackground color.
OptionalboldRender text with bold weight.
OptionalfgForeground (text) color.
OptionalfocusableWhether the button participates in focus traversal.
OptionalfocusedOptionalfocusStyle overrides applied when focused. Overridden values participate in inheritance — the label text sees the focused styles as its defaults.
OptionalitalicRender text in italic style.
OptionalonCalled when the button loses focus.
Called on mouse click or Enter when focused.
OptionalonCalled when the button receives focus.
OptionalonKey event handler. Receives normalized semantic keys that bubble up
to this button. Return false to keep bubbling.
OptionalpaddingInternal padding in cells.
OptionalunderlineRender text with an underline.
Props for the Button component.
Extends StyleProps — all style props (
fgColor,bgColor,bold,italic,underline) are set on the container and inherited by the label text. This enablesfocusStyleto override them when the button is focused.