Options
All
  • Public
  • Public/Protected
  • All
Menu

Module view/PendingActionPanel

Type aliases

Variables

Functions

Type aliases

Props

Props: object

React props for PendingActionPanel component

Type declaration

  • player: PlayerInfo

    Player whose pending action should be displayed

Variables

Const useStyles

useStyles: function = makeStyles(theme => ({buttonGroup: {width: "100%",marginTop: theme.spacing(1),},buttons: {width: "100%",}}))

CSS style hook for PendingActionPanel component

Type declaration

    • (props?: any): ClassNameMap<ClassKey>
    • Parameters

      • Optional props: any

      Returns ClassNameMap<ClassKey>

Functions

Const PendingActionPanel

  • PendingActionPanel(__namedParameters: object): null | Element
  • React Component representing panel, displaying pending action of the current player (if any). It includes type of the pending action, countdown when the action could be performed, and two buttons for performing the action (if it's possible) or cancelling it.

    Parameters

    Returns null | Element

Generated using TypeDoc