TwoTitleButton SwiftUI - admiral-team/admiralui-ios GitHub Wiki

Class

A main control with left and right text that executes your custom code in response to user important interactions.


Declaration

public struct TwoTitleGhostButton: View {

Overview

Two Title Button Button is main type button with left and right text. It serves for presentation important action with left and right text. This type of button is brightly then other buttons.

Configure a Two Title Button Button

Configuration left and right text label in button.

 TwoTitleGhostButton(
      leftText: "left Text",
      rightText: "right Text",
      leftAction: {},
      rightAction: {}
)

Contribution

You can help us to find bugs or ask us to add features.

  • To start issue please use ready-made templates.
  • To make changes to the repository, you need to create a fork of the project, make changes to the code and create a pull request in our project. You can read more about this in the Github documentation.