{"action":"opened","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-elements/issues/107","repository_url":"https://api.github.com/repos/react-native-community/react-native-elements","labels_url":"https://api.github.com/repos/react-native-community/react-native-elements/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-elements/issues/107/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-elements/issues/107/events","html_url":"https://github.com/react-native-community/react-native-elements/issues/107","id":193597529,"number":107,"title":"`TabBarIOS.Item` hit React.Children.only expected to receive a single React element child","user":{"login":"StTraft","id":10973864,"avatar_url":"https://avatars.githubusercontent.com/u/10973864?v=3","gravatar_id":"","url":"https://api.github.com/users/StTraft","html_url":"https://github.com/StTraft","followers_url":"https://api.github.com/users/StTraft/followers","following_url":"https://api.github.com/users/StTraft/following{/other_user}","gists_url":"https://api.github.com/users/StTraft/gists{/gist_id}","starred_url":"https://api.github.com/users/StTraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StTraft/subscriptions","organizations_url":"https://api.github.com/users/StTraft/orgs","repos_url":"https://api.github.com/users/StTraft/repos","events_url":"https://api.github.com/users/StTraft/events{/privacy}","received_events_url":"https://api.github.com/users/StTraft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-05T20:08:57Z","updated_at":"2016-12-05T20:08:57Z","closed_at":null,"body":"Hit this issue on `TabBarIOS.Item`.\r\nif I return something like this in `render`:\r\n```\r\n<View>\r\n  <TabBarIOS>\r\n    <TabBarIOS.Item selected={true}>\r\n      <View style={shouldBeNull}/>\r\n    </TabBarIOS.Item>\r\n  </TabBarIOS>\r\n</View>\r\n```\r\nIt will be fine, but if I removed the `<View style={shouldBeNull}/>`:\r\n```\r\n<View>\r\n  <TabBarIOS>\r\n    <TabBarIOS.Item selected={true} />\r\n  </TabBarIOS>\r\n</View>\r\n```\r\nIt dies.\r\nJust wonder if it could accept 0 child, or must have exactly one child for it to work.\r\n;)"}}
{"actor":{"display_login":"StTraft"}}