CopyButton
fun CopyButton(text: String, modifier: Modifier = Modifier, enabled: Boolean = true, labels: CopyButtonLabels = CopyButtonLabels(), onCopied: () -> Unit? = null)
An icon button that copies text to the system clipboard as plain text. After copying it shows a check mark for a moment and announces CopyButtonLabels.copied. onCopied runs after the copy, for example to log it.