tabPanel

@Composable
fun IComponent.tabPanel(tabPosition: TabPosition = TabPosition.Top, sideTabSize: SideTabSize = SideTabSize.Size3, scrollableTabs: Boolean = false, draggableTabs: Boolean = false, activeIndex: Int = -1, className: String? = null, id: String? = null, content: @Composable ITabPanel.() -> Unit)

Creates a TabPanel component.

Return

the TabPanel component

Parameters

tabPosition

the tabs position

sideTabSize

the size of tabs for left or right position

scrollableTabs

determines if the tabs are scrollable

draggableTabs

determines if the tabs are draggable

activeIndex

the index of the active tab

className

the CSS class name

content

the content of the tab panel