Contents

init(_:image:content:)

Creates a new control group with the specified content that generates its label from a string and image name.

Declaration

nonisolated init<C, S>(_ title: S, image: ImageResource, @ViewBuilder content: () -> C) where Content == LabeledControlGroupContent<C, Label<Text, Image>>, C : View, S : StringProtocol

Parameters

  • title:

    A string that describes the contents of the group.

See Also

Creating a control group with an image