ComposerCancelIcon

fun ComposerCancelIcon(modifier: Modifier = Modifier, contentDescription: String = stringResource(R.string.stream_compose_cancel), onClick: () -> Unit)

Represents a simple cancel icon that is used primarily for attachments.

Parameters

modifier

Modifier for styling.

contentDescription

Text used by accessibility services to describe what this icon represents.

onClick

Handler when the user clicks on the icon.