ThemeTextButton

fun ThemeTextButton(text: String, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, destructive: Boolean = false)

A low-emphasis text button for tertiary or dismissive actions ("Cancel", "Learn more").

Parameters

destructive

uses the error color, for actions such as "Delete all".