KwikAccordionItem

data class KwikAccordionItem(val title: String, val content: String, val hasError: Boolean = false)

Data class representing an item in the accordion. Contains a title, content, and an optional error state.

Parameters

title

: The title of the accordion item.

content

: The content of the accordion item.

hasError

: If true, the item will display an error state.

Constructors

Link copied to clipboard
constructor(title: String, content: String, hasError: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
val hasError: Boolean = false
Link copied to clipboard