StylishAccordionItem

data class StylishAccordionItem(val title: String, val content: @Composable () -> Unit, val enabled: Boolean = true)

One collapsible section of a StylishAccordion.

Constructors

Link copied to clipboard
constructor(title: String, content: @Composable () -> Unit, enabled: Boolean = true)

Properties

Link copied to clipboard
val content: @Composable () -> Unit

Body content revealed while the section is expanded.

Link copied to clipboard

When false, the header ignores pointer input and the section cannot be toggled. Defaults to true.

Link copied to clipboard

Header text shown in the section's title bar.