SelectionButton

open class SelectionButton

Represents a button with text and an optional icon.

Constructors

Link copied to clipboard
constructor(text: String, icon: IconSource? = null, type: ButtonStyle = ButtonStyle.TEXT)

Creates a new instance of SelectionButton with the given text, icon and type.

constructor(@StringRes textRes: Int, icon: IconSource? = null, type: ButtonStyle = ButtonStyle.TEXT)

Creates a new instance of SelectionButton with the given string resource identifier, icon and type.

constructor(annotatedString: AnnotatedString, icon: IconSource? = null, type: ButtonStyle = ButtonStyle.TEXT)

Creates a new instance of SelectionButton with the given AnnotatedString, icon and type.

Properties

Link copied to clipboard