ControlIcon
@Composable
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 = { }
)
Content copied to clipboard