SectionView
struct SectionView: ViewModifier
Wrapper around a section
-
The display options
Declaration
Swift
let settings: AppSettings.Song -
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
ViewModifierDeclaration
Swift
func body(content: Content) -> some ViewParameters
contentThe content of the section
Return Value
A
Viewwith the wrapped section -
The content of the section when viewed inline
Declaration
Swift
func inlineContent(content: Content) -> some View
View on GitHub