SendbirdIconButton

fun SendbirdIconButton(icon: Painter, contentDescription: String?, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, tint: Color = MaterialTheme.colorScheme.primary, pressedContainerColor: Color = MaterialTheme.colorScheme.inverseOnSurface)

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

Since

1.0.0-beta.1

Parameters

icon

The icon to be displayed.

contentDescription

The content description for the icon.

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.

tint

The tint color for the icon.