TabSelector

fun TabSelector(    modifier: Modifier = Modifier,     state: TabSelectorState,     tabs: List<TabDetails>,     initialTabShape: Shape = RoundedCornerShape( topStart = 0.dp, bottomStart = 10.dp ),     middleShape: Shape = RectangleShape,     lastTabShape: Shape = RoundedCornerShape( topEnd = 0.dp, bottomEnd = 10.dp ),     swipingEnabled: Boolean = true,     tabContent: @Composable (TabDetails, Int) -> Unit)

Custom tab selector to select the tab to display

Parameters

modifier

The modifier to apply to the component

state

The state used to manage this component

tabs

The list of the tab to display

initialTabShape

The shape to use for the first tab of the selector

middleShape

The shape to use for the middle tabs of the selector

lastTabShape

The shape to use for the last tab of the selector

swipingEnabled

Whether the horizontal swiping gesture is enabled, if yes the tabContent will be displayed with the HorizontalPager component

tabContent

The content of the tab