init(content: () -> Content, label: () -> Label, primaryAction : () -> Void)
Creates a menu with a custom primary action and custom label.
Available when
Label
conforms to View
and Content
conforms to View
.init<S>(S, content: () -> Content, primaryAction : () -> Void)
Creates a menu with a custom primary action that generates its label from a string.
Available when
Label
conforms to View
and Content
conforms to View
.