title: How to console.log props in React?
body: <p>I'm new to React and have been thrown in the deep end with a task.</p>
  
  <p>I must adjust the data for a date props. This looks (as far as I can tell) like:</p>
  
  <pre><code>form.defaultProps = {
    conf: {},
    minDate: new Date(),
    maxDate: new Date(new Date().setFullYear(new Date().getFullYear() + 2)),
  };
  </code></pre>
  
  <p>I want to test if <code>maxDate</code> is the prop I am after. To do that I want to <code>console.log</code> (or equivalent) its output.</p>
  
  <p>Would anyone know how I should be doing this?</p>