AccordionSection
data class AccordionSection(val title: AnnotatedString, val body: AnnotatedString, val isEnabled: Boolean = true)
Represents a section within an Accordion component.
An Accordion Section consists of a title, a body containing the content to be displayed, and an enabled state indicating whether the section can be interacted with. The title and body are represented as AnnotatedStrings to allow for rich text formatting within the section.
Constructors
Link copied to clipboard
Alternative constructor of AccordionSection that takes plain strings for the title and body.