init(LocalizedStringKey , content: () -> Content)
Creates an instance of
MenuButton
with a given localized title and content to be presented to the user.Available when
Label
is Text
and Content
conforms to View
.
Label
がText
であるそしてContent
がView
に準拠する場合に利用可能です。
init<S>(S, content: () -> Content)
Creates an instance of
MenuButton
with a given title and content to be presented to the user.Available when
Label
is Text
and Content
conforms to View
.
Label
がText
であるそしてContent
がView
に準拠する場合に利用可能です。
init(label: Label, content: () -> Content)
Creates an instance of
MenuButton
with a given label and content to present to the user.