Skip to content

TabSpec

data class TabSpec(
    val id: String, 
    val title: Component, 
    val icon: TabIcon? = null, 
    val enabled: Boolean = true, 
    val content: @Composable



 () -> Unit
)

Data describing a single Create World style tab.

Constructors

TabSpec

constructor(
    id: String, 
    title: Component, 
    icon: TabIcon? = null, 
    enabled: Boolean = true, 
    content: @Composable



 () -> Unit
)

Properties

content

val content: @Composable



 () -> Unit

enabled

icon

val icon: TabIcon?

id

val id: String

title

val title: Component