SendbirdTextButton

fun SendbirdTextButton(text: String, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, textColor: Color = MaterialTheme.colorScheme.primary)

Represents a button with text with preset styles. Use this when you need to show a button with text with Uikit's style.

Since

1.0.0

Parameters

text

The text to be displayed.

onClick

The handler for when the user clicks on the button.

modifier

The modifier to be applied to the view.

enabled

The flag to indicate whether the button is enable or not.

textColor

The text color for the button. Defaults to MaterialTheme.colorScheme.primary.