title: how to push values in array and pass these values to Select tag
body: <p>I want to push values in array and pass these values as options of select tag. I did following,</p>
  
  <p>used plugin</p>
  
  <pre><code>import DropDown, {
    Select,
    Option,
    OptionList,
  } from 'react-native-selectme';
  </code></pre>
  
  <p>assigned state as</p>
  
  <pre><code>this.state = {company:[]};
  </code></pre>
  
  <p>pushing in this array as</p>
  
  <pre><code>for(let i in data.companyRecord)
      company.push(data.companyRecord[i].companyname);
  </code></pre>
  
  <p>and assigning to select tag as</p>
  
  <pre><code>&lt;Select
          width={250}
          ref="SELECT1"
          optionListRef={this._getOptionList.bind(this)}
          defaultValue="Select a Company ..."
          onSelect={this._company.bind(this)} asyncOptions={this.state.company}&gt;
  &lt;/Select&gt;
  </code></pre>
  
  <p>But it is not working. It is showing that </p>
  
  <pre><code>undefined is not an object('evaluating children.length').
  </code></pre>
  
  <p>Please help me solving this issue.</p>