PayLaterButtonView

fun PayLaterButtonView(style: PayLaterButtonColor, enabled: Boolean = true, onClick: () -> Unit)

A stateless PayPal Pay Later branded button.

Use PayLaterButton to get the complete PayPal Pay Later flow. Use this composable directly only if you want to render the button and handle the flow yourself.

Parameters

style

A PayLaterButtonColor that determines the color of the button.

enabled

When false the button is not clickable and displays a loading indicator.

onClick

Invoked when the button is clicked.