title: Pass the value from a datePicker (start date) to a second datePicker (end date) with React JS
body: <p>I have two datePickers (<strong>StartDate &amp; EndDate</strong>) what I want to do is after I select the StartDate pass that value to the EndDate so I can choose a date after the StartDate.</p>
  
  <p>For example if I choose my StartDate to be December 10 then when I go to my EndDate datepicker I wont be able to choose any date before December 10 so that will be my starting point for the EndDate datepicker.</p>
  
  <p>This is my render method.</p>
  
  <pre><code>render() {
  
      const today = new Date();
      today.setDate(today.getDate() + 1);
  
      return (
        &lt;div className={cr.container}&gt;
          &lt;div className ={cr.boton}&gt;
            &lt;Divider/&gt;
          &lt;/div&gt;
          &lt;div className={cr.rows}&gt;
            &lt;div&gt;
              &lt;div&gt;
                &lt;DatePicker
                  hintText="Start Date"
                  minDate = {today}
                /&gt;
                &lt;br/&gt;
                &lt;DatePicker
                  hintText="End Date"
                /&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
  
        &lt;/div&gt;
      );
    }
  }
  </code></pre>
  
  <p>I'll appreciate the help on this...</p>
  
  <p>Thanks in advance.</p>