Skip to content

Instantly share code, notes, and snippets.

@enyciaa
Created December 5, 2021 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enyciaa/6210d2e9b053f75e28a1ae52d90a019c to your computer and use it in GitHub Desktop.
Save enyciaa/6210d2e9b053f75e28a1ae52d90a019c to your computer and use it in GitHub Desktop.
screen-template-6
struct CallToAction: View {
let screenCallToActionViewState: ScreenCallToActionViewState
let onCallToActionTapped: () -> Void
var body: some View {
Button(
screenCallToActionViewState.buttonText,
action: onCallToActionTapped
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment