SwiftinitDesignLibraryDesignLibrary.Button
init
DesignLibrary.Button.init(interactionState: DesignLibrary.InteractionState, isSelected: Bool, role: DesignLibrary.ButtonRole?, tintProminence: DesignLibrary.ButtonTintProminence, content: () -> A) -> DesignLibrary.Button<A>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
A
param{}
- 0interactionState:
- 1isSelected:structSwift.Bool
- 2role:enumSwift.Optional
- 3tintProminence:
- 4content:function
() -> A- returnsgenericParameter
A
result{}
structDesignLibrary.Button
- arggenericParameter
A