title: Objects are not valid as a React child
body: <p>I am getting an below error. I can see that I have to return array instead of object. But I am really not sure how to fix it. Thanks in advance</p>
  
  <blockquote>
    <p>Objects are not valid as a React child. If you meant to render a
    collection of children, use an array instead or wrap the object using
    createFragment(object) from the React add-ons. Check the render method
    of <code>View</code>.</p>
  </blockquote>
  
  <pre><code>constructor(props){
      super(props);
      this.state = {timeElapsed: null};
    }
  
  startStopButton(){
      return &lt;TouchableHighlight underlayColor="gray" onPress={this.handleStartPress.bind(this)}&gt;
          &lt;Text&gt;Start&lt;/Text&gt;
        &lt;/TouchableHighlight&gt;
    }
  
  handleStartPress(){
        var startTime = new Date();
  
  
  
  
        setInterval(()=&gt;{
          this.setState({timeElapsed: new Date()})
        }, 1000);
    }
  render(){
  return(
    &lt;View style={styles.container}&gt;
      &lt;View style={[styles.header]}&gt;
        &lt;View style={[styles.timerContainer, this.borderColor('#ff6666')]}&gt;
          {this.state.timeElapsed}
        &lt;/View&gt;
        &lt;View style={[styles.buttonsContainer, this.borderColor('#558000')]}&gt;
          {this.startStopButton()}
          {this.lapButton()}
        &lt;/View&gt;
      &lt;/View&gt;
    &lt;/View&gt;
  );
  
  
  }
  </code></pre>