Sendbird Icon Button
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.
content Description
The content description for the icon.
on Click
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.