Initializer

init(label:content:)

Creates an instance of MenuButton with a given label and content to present to the user.

Declaration 宣言

init(label: Label, content: () -> Content)

Parameters パラメータ

label

Describes the purpose of this MenuButton.

content

The content to present to the user when the MenuButton is interacted with.

See Also 参照

Creating a Menu Button メニューボタンを作成する