title: "Undefined is not an object (evaluating 'child.props.value') " error with Picker component in react-native
body: <p>I have come across this error when I used Picker component as follows,</p>
  
  <pre><code>&lt;Picker 
     style={{ flex: 1 }}&gt;
     selectedValue={this.props.shift}
     onValueChange={value =&gt; this.props.employeeFormAction({ 
                                               prop:'shift', value })}
  &gt;   
          &lt;Picker.Item label='Monday' value='Monday' /&gt;
          &lt;Picker.Item label='Tuesday' value='Tuesday' /&gt;
          &lt;Picker.Item label='Wednesday' value='Wednesday' /&gt;
          &lt;Picker.Item label='Thursday' value='Thursday' /&gt;
          &lt;Picker.Item label='Friday' value='Friday' /&gt;
          &lt;Picker.Item label='Saturday' value='Saturday' /&gt;
          &lt;Picker.Item label='Sunday' value='Sunday' /&gt;
  &lt;/Picker&gt; 
  </code></pre>
  
  <p>I have tired this solution from same community</p>
  
  <p><a href="https://stackoverflow.com/questions/39035332/react-native-picker-undefined-is-not-an-object-evaluating-this-props-child">react-native - Picker - undefined is not an object (evaluating &#39;this.props.children[position].props)</a></p>
  
  <p>But it didn't work for me. Could any body suggest solution for this issue.</p>