tabPanelRef

@Composable
fun IComponent.tabPanelRef(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): TabPanel

Creates a TabPanel component, returning a reference.

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