configuration

fun configuration(style: ClerkButtonConfiguration.ButtonStyle = ClerkButtonConfiguration.ButtonStyle.Primary, emphasis: ClerkButtonConfiguration.Emphasis = ClerkButtonConfiguration.Emphasis.High, size: ClerkButtonConfiguration.Size = ClerkButtonConfiguration.Size.Large, backgroundColorOverride: Color? = null): ClerkButtonConfiguration

Creates a ClerkButtonConfiguration with the specified style, emphasis, and size.

Return

A ClerkButtonConfiguration instance.

Parameters

style

The visual style of the button (e.g., Primary, Secondary).

emphasis

The prominence of the button (e.g., High, Low).

size

The size of the button (e.g., Large, Small).

backgroundColorOverride

an optional background color override