tab

@Composable
open override fun tab(label: String, content: @Composable IDiv.() -> Unit)

Adds a tab.

Parameters

label

the label of the tab

content

the content of the tab


@Composable
open override fun tab(label: String, icon: String, content: @Composable IDiv.() -> Unit)

Adds a tab.

Parameters

label

the label of the tab

icon

the icon of the tab

content

the content of the tab


@Composable
open override fun tab(label: String?, icon: String?, closable: Boolean, content: @Composable IDiv.() -> Unit)

Adds a tab.

Parameters

label

the label of the tab

icon

the icon of the tab

closable

determines if the tab is closable

content

the content of the tab