SectionView
struct SectionView: ViewModifier
Wrapper around a section
-
The display options
Declaration
Swift
let options: Song.DisplayOptions
-
The optional label
Declaration
Swift
var label: String = ""
-
Bool if the section is prominent (chorus for example)
Declaration
Swift
var prominent: Bool = false
-
The body of the
ViewModifier
Declaration
Swift
func body(content: Content) -> some View
Parameters
content
The content of the section
Return Value
A
View
with the wrapped section