Structure
AccordionContent
public struct AccordionContent: Identifiable
Relationships
Conforms To
Identifiable
Initializers
init(id:title:subtitle:icon:items:expanded:isEnabled:isExternalLink:)
public init(
id: String, title: String, subtitle: String? = nil, icon: UIImage? = nil,
items: [AccordionRowContent] = [], expanded: Bool = false,
isEnabled: Bool = true, isExternalLink: Bool = false
)
Properties
id
public var id: String
title
public private(set) var title: String
subtitle
public private(set) var subtitle: String?
icon
public private(set) var icon: UIImage?
items
public private(set) var items: [AccordionRowContent] = []
isExpandable
public var isExpandable: Bool = true
isEnabled
public private(set) var isEnabled = true
isExternalLink
public private(set) var isExternalLink = false