ClerkButtonConfiguration

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

Data class holding the configuration for a ClerkButton.

Parameters

style

The visual style of the button.

emphasis

The prominence of the button.

size

The size of the button.

backgroundColorOverride

an optional background color override

Constructors

Link copied to clipboard
constructor(style: ClerkButtonConfiguration.ButtonStyle = ButtonStyle.Primary, emphasis: ClerkButtonConfiguration.Emphasis = Emphasis.High, size: ClerkButtonConfiguration.Size = Size.Large, backgroundColorOverride: Color? = null)

Types

Link copied to clipboard

Defines the color palette and overall style of the button.

Link copied to clipboard

Defines the visual prominence of the button.

Link copied to clipboard

Defines the size of the button, affecting its height and text style.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard