Docs (4.0.0)
class UIButton property

primary

True if the primary button style should be applied to this label.

primary?: boolean

Notes

  • The primary button style is defined by the theme, identified as PrimaryButton, and also available as ui.style.BUTTON_PRIMARY.
  • If the style property is set, this property is ignored.

Related