Options
All
  • Public
  • Public/Protected
  • All
Menu

Module view/actions/ClaimButton

Type aliases

Functions

Type aliases

Props

Props: ActionButtonProps & object

Functions

Const ClaimButton

  • ClaimButton(__namedParameters: object): Element
  • React Component representing action button for claiming game currency. It handles whether this action should be enabled and executes this action.

    Parameters

    • __namedParameters: object
      • block: undefined | BlockInfo
      • buttonProps: buttonProps
      • flowControl: object
        • setError: function
            • (msg: string): void
            • Parameters

              • msg: string

              Returns void

        • setStart: function
            • (): void
            • Returns void

        • setSuccess: function
            • (msg: string): void
            • Parameters

              • msg: string

              Returns void

      • player: undefined | PlayerInfo

    Returns Element

Generated using TypeDoc