KDoc

data object KDoc : InspectorTab

Built-in KDoc tab that displays preview function documentation.

See also

Properties

Link copied to clipboard
open val icon: @Composable () -> Painter?

The icon to display for the tab. If null, the tab will be displayed without an icon.

Link copied to clipboard
open override val title: String

The display title of the tab

Functions

Link copied to clipboard

The content to display when the tab is selected. Implement this composable function within ContentContext receiver scope to access the PreviewLabState via ContentContext.state.