ControlIcon

@Composable
fun ControlIcon(modifier: Modifier = Modifier, containerSize: Dp = 24.dp, iconSize: Dp = 10.dp, icon: ImageVector, onClick: () -> Unit = { })

This function displays a control icon for the application.

Parameters

modifier

The modifier to be applied to the control icon.

containerSize

The size of the container of the control icon.

iconSize

The size of the icon.

icon

The icon to be displayed.

onClick

The action to be performed when the control icon is clicked.

Example usage:

ControlIcon(
modifier = Modifier,
containerSize = 24.dp,
iconSize = 10.dp,
icon = Icons.Default.Close,
onClick = { }
)