IsInMenuKey
public struct IsInMenuKey : EnvironmentKey
The key for storing whether the component is in a Menu
in the environment. Default value is false.
-
Declaration
Swift
public static let defaultValue: Bool