KwikTabItem

data class KwikTabItem(val title: String? = null, val counter: Int = 0, val icon: Any? = null, val content: @Composable () -> Unit)

The properties of a tab item.

Parameters

title

The title of the tab

counter

The counter to display on the tab

icon

The icon to display on the tab. Can be a drawable resource, a vector resource or a url

content

The content to display when the tab is selected

Constructors

Link copied to clipboard
constructor(title: String? = null, counter: Int = 0, icon: Any? = null, content: @Composable () -> Unit)

Properties

Link copied to clipboard
val content: @Composable () -> Unit
Link copied to clipboard
val counter: Int = 0
Link copied to clipboard
val icon: Any? = null
Link copied to clipboard
val title: String? = null