Type ButtonAction

type ButtonAction struct {
	ID       ui.ID
	Label    string
	Variant  ButtonVariant
	Disabled bool
}

ButtonAction is one button of a ButtonRow. ID is the application's stable hit identity. The zero Variant is the primary Default button, so the confirming action needs no variant at all.