JetpackTab
fun JetpackTab(selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, text: @Composable () -> Unit)
Jetpack tab. Wraps Material 3 Tab and shifts text label down.
Parameters
selected
Whether this tab is selected or not.
onClick
The callback to be invoked when this tab is selected.
modifier
Modifier to be applied to the tab.
enabled
Controls the enabled state of the tab. When false
, this tab will not be clickable and will appear disabled to accessibility services.
text
The text label content.