AccordionSection
struct AccordionSection<Content> : View where Content : View
Accordion section view.
-
Declaration
Swift
let id: Int
-
Declaration
Swift
let imageName: String
-
Declaration
Swift
let title: String
-
Declaration
Swift
let height: CGFloat
-
Declaration
Swift
@Binding var expandedSection: Int { get nonmutating set }
-
Declaration
Swift
let content: () -> Content
-
Declaration
Swift
var isExpanded: Bool { get }
-
Declaration
Swift
var body: some View { get }