Contents

init(_:)

Creates a button with an automatic label that describes the subscription option and starts a subscribe interaction when someone selects the button.

Declaration

@MainActor @preconcurrency init(_ option: SubscriptionStoreControlStyleConfiguration.Option)

Discussion

You receive SubscriptionStoreControlStyleConfiguration.Option values to initialize the subscribe button from the makeBody(configuration:) method of your custom subscription store control style.