A bordered icon button is a medium-emphasis button with only an icon, a transparent background, and a thin border. Use for actions that need more emphasis than a borderless icon button.
Signature
fun BorderedIconButton(icon: () -> Unit, onClick: () -> Unit, modifier: Modifier, colors: BorderedButtonColors = BorderedButtonDefaults.colors(), borderColor: Color?, isEnabled: Boolean = true, expanded: Boolean = false)
Parameters
icon:
Function0
The icon to display on the button.
onClick:
Function0
The callback to be invoked when the button is clicked.