react pointer in place on page whwn click on button code example

Example: react pointer in place on page whwn click on button

render() {   return (      <div className=’card-list’>        {this.state.displayDownButton?        <Button             className=’dashboard-Down’             color=’olive’             size=’small’ >        <Icon name=’angle double down’/>See Stats        </Button>        : null}       {this.state.displayUpButton?       <Button             className=’dashboard-Up’             color=’olive’             size=’small’ >       <Icon name=’angle double up’/>Back on top       </Button>       : null}