OptionButton

fun OptionButton(    icon: ImageVector,     visible: () -> Boolean = { true },     show: MutableState<Boolean>,     optionAction: @Composable () -> Unit,     tint: Color = LocalContentColor.current)

Function to create an option button to execute any actions

Parameters

icon

: the representative icon to use

visible

: whether the button must be visible or not

show

: whether show the warn EquinoxAlertDialog about the action

optionAction

: the option action to execute

tint

: the tint for the OptionButton