Back to Firefox Ios

``ComponentLibrary/PrimaryRoundedButton``

BrowserKit/Sources/ComponentLibrary/Documentation.docc/General Components/PrimaryRoundedButton.md

139.0723 B
Original Source

ComponentLibrary/PrimaryRoundedButton

The button which is used for primary actions.

Overview

PrimaryRoundedButton is a subclass of UIButton. This means that the properties of UIButton are accessible, however it's recommended to configure the button title and accessibility identifier through its view model PrimaryRoundedButtonViewModel. The colors, rounded corners, and spacing of the button, although accessible, shouldn't be adjusted and should be used as is.

Illustration

This image is illustrative only. For precise examples of iOS implementation, please run the SampleApplication.

Topics

View Model

  • PrimaryRoundedButtonViewModel