title: How to use startAccessor to specify a date in React-Big-Calendar
body: <p>I have an array of events being sent to react-big-calendar</p>
  
  <p>They have the following format:</p>
  
  <pre><code>{ "_id": "9Hfiz8C3tztP5LauA",
    "name": "This is a test event",
    "description": "Testing 123",
    "calendar": "LwnaRAuJ6n9xmxhGj",
    "clientData": [
      {
        "clientId": "dSE84s8qQDHNzAFDt",
        "date": "2017-02-23T12:00:00.000Z"
      }
    ]
  }
  </code></pre>
  
  <p>I want react-big-calendar to use the <code>event.clientData.date</code> as the date it displays for each event.</p>
  
  <p>Currently the calendar is being rendered empty.</p>
  
  <p>From reading the documentation it seems I need to use the <code>startAccessor</code> prop to achieve this. I've tried the following:</p>
  
  <pre><code>&lt;BigCalendar
      selectable
      events={events}
      startAccessor={this.getEventDate}
  /&gt;
  
  
  getEventDate() {
      return moment(this.props.events.clientData.date);
  }
  </code></pre>
  
  <p>That isn't working (I didn't think it would). If anyone could help it would be much appreciated!</p>