Options
All
  • Public
  • Public/Protected
  • All
Menu

Module view/BlockTimespan

Type aliases

Variables

Functions

Type aliases

Props

Props: object

React props for BlockTimespan component

Type declaration

  • blockCount: number

    Number of blocks for which the countdown should be displayed

Variables

Const useStyles

useStyles: function = makeStyles((theme) =>({popover: {pointerEvents: "none",},paper: {padding: theme.spacing(1),},}))

CSS style hook for BlockTimespan component

Type declaration

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

      • Optional props: any

      Returns ClassNameMap<ClassKey>

Functions

Const BlockTimespan

  • BlockTimespan(__namedParameters: object): Element
  • React Component displaying countdown for block count given as a parameter, and on mouse hover, calculating and displaying predicted date and time, when the target block could be mined.

    Parameters

    • __namedParameters: object
      • blockCount: number

    Returns Element

Generated using TypeDoc