title: Implement a custom popup box which will appear after 5 seconds upon clicking on a button in a React Component
body: <p>I think the title is self explanatory, I have a button element in React component and I want upon click on it, it must popup a box after 5 seconds </p>
  
  <pre><code>import React, { Component } from 'react';
  import './Header.css';
  
  class Header extends Component {
    render() {
      return (
        &lt;div&gt;
          &lt;a class="waves-effect waves-light btn"&gt;This is the button !&lt;/a&gt;
        &lt;/div&gt;
      );
    }
  }
  
  export default Header; 
  </code></pre>