IconButtonSmall

fun IconButtonSmall(modifier: <Error class: unknown class> = Modifier, icon: <Error class: unknown class>, enabled: Boolean = true, onClick: () -> Unit = {})

A icon focused, small-sized Button.

Small sized buttons are defined as:

val sizing = ButtonSizes(
minWidth = Dp.Unspecified,
minHeight = 36.dp,
iconSize = 24.dp,
sidePadding = 20.dp,
iconPadding = 4.dp,
textStyle = AnsaTheme.typography.bodyBold
)

val shape = CircleShape

Parameters

onClick

Will be called when user clicks on the element

modifier

The modifier to be applied to the Button.

enabled

Whether or not the button is enabled and interactive.

icon

The icon, provided as a Painter.