text: import React, { Component } from 'react';
  import './nextbutton.css';
  
  export default class DrawButton extends Component {
    constructor(props) {
      super(props);
  
      this.drawCard = this.drawCard.bind(this);
    }
  
    drawCard() {
      this.props.drawCard();
    }
  
    render(props) {
      return (
        <div className='button-container'>
          <button className='button' onClick={this.drawCard}>Draw a card</button>
        </div>
      );
    }
  }