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{}

  1. 0interactionState:
  2. 1isSelected:
  3. 2role:
  4. 3tintProminence:
  5. 4content:
    function() -> A
    • returnsgenericParameterA

result{}

  • arggenericParameterA