Options
All
  • Public
  • Public/Protected
  • All
Menu

Module view/MapLocation

Type aliases

Variables

Functions

Type aliases

Props

Props: object

React props for MapLocation component

Type declaration

  • location: XY

Variables

Const useStyles

useStyles: function = makeStyles((theme) =>({link: {cursor: "pointer","&:hover": {textDecoration: "underline"}},}))

CSS style hook for MapLocation component

Type declaration

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

      • Optional props: any

      Returns ClassNameMap<ClassKey>

Functions

Const MapLocation

  • MapLocation(__namedParameters: object): Element
  • React Component displaying formatted coordinates of the given location and selecting that location on the GameMap when clicked.

    Parameters

    • __namedParameters: object
      • location: object
        • x: number
        • y: number

    Returns Element

Generated using TypeDoc