RepeatableClickableButton

fun RepeatableClickableButton(onClick: () -> Unit, onLongRepeatableClick: () -> Unit, modifier: Modifier = Modifier, onLongRepeatableClickEnd: () -> Unit = {}, enabled: Boolean = true, colors: ButtonColors = ButtonDefaults.primaryButtonColors(), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, shape: Shape = CircleShape, border: ButtonBorder = ButtonDefaults.buttonBorder(), indication: Indication = ripple(), content: @Composable BoxScope.() -> Unit)

A base button that can send single onClick event or repeated onLongRepeatableClick events by holding it down.

Code modified from https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Button.kt