{"action":"created","issue":{"url":"https://api.github.com/repos/brentvatne/react-native-scrollable-tab-view/issues/22","labels_url":"https://api.github.com/repos/brentvatne/react-native-scrollable-tab-view/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/brentvatne/react-native-scrollable-tab-view/issues/22/comments","events_url":"https://api.github.com/repos/brentvatne/react-native-scrollable-tab-view/issues/22/events","html_url":"https://github.com/brentvatne/react-native-scrollable-tab-view/issues/22","id":98541766,"number":22,"title":"FacebookTabBar example errors","user":{"login":"adarshmuthappa","id":8210008,"avatar_url":"https://avatars.githubusercontent.com/u/8210008?v=3","gravatar_id":"","url":"https://api.github.com/users/adarshmuthappa","html_url":"https://github.com/adarshmuthappa","followers_url":"https://api.github.com/users/adarshmuthappa/followers","following_url":"https://api.github.com/users/adarshmuthappa/following{/other_user}","gists_url":"https://api.github.com/users/adarshmuthappa/gists{/gist_id}","starred_url":"https://api.github.com/users/adarshmuthappa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adarshmuthappa/subscriptions","organizations_url":"https://api.github.com/users/adarshmuthappa/orgs","repos_url":"https://api.github.com/users/adarshmuthappa/repos","events_url":"https://api.github.com/users/adarshmuthappa/events{/privacy}","received_events_url":"https://api.github.com/users/adarshmuthappa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-01T14:44:21Z","updated_at":"2015-08-13T02:38:35Z","closed_at":null,"body":"Hey first of all great repo! \r\n\r\nI am facing an issue integrating the FacebookTabBar example. I get the error \"icon.setNativeProps is not a function \" in the function\r\n\r\nsetAnimationValue(value) {\r\n    var currentPage = this.props.activeTab;\r\n\r\n    this.unselectedTabIcons.forEach((icon, i) => {\r\n      if (value - i >= 0 && value - i <= 1) {\r\n        icon.setNativeProps({opacity: value - i});\r\n      }\r\n      if (i - value >= 0 &&  i - value <= 1) {\r\n        icon.setNativeProps({opacity: i - value});\r\n      }\r\n    });\r\n  },\r\n\r\nAlso, if I do a console.log(icon), it says icon is not defined\r\nI had no problem integrating the CustomTabBar code. Thanks again!"},"comment":{"url":"https://api.github.com/repos/brentvatne/react-native-scrollable-tab-view/issues/comments/130510824","html_url":"https://github.com/brentvatne/react-native-scrollable-tab-view/issues/22#issuecomment-130510824","issue_url":"https://api.github.com/repos/brentvatne/react-native-scrollable-tab-view/issues/22","id":130510824,"user":{"login":"brentvatne","id":90494,"avatar_url":"https://avatars.githubusercontent.com/u/90494?v=3","gravatar_id":"","url":"https://api.github.com/users/brentvatne","html_url":"https://github.com/brentvatne","followers_url":"https://api.github.com/users/brentvatne/followers","following_url":"https://api.github.com/users/brentvatne/following{/other_user}","gists_url":"https://api.github.com/users/brentvatne/gists{/gist_id}","starred_url":"https://api.github.com/users/brentvatne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentvatne/subscriptions","organizations_url":"https://api.github.com/users/brentvatne/orgs","repos_url":"https://api.github.com/users/brentvatne/repos","events_url":"https://api.github.com/users/brentvatne/events{/privacy}","received_events_url":"https://api.github.com/users/brentvatne/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T02:38:35Z","updated_at":"2015-08-13T02:38:35Z","body":"hi there, not really sure what's going on with this one, maybe something has changed with a dependency, if you have a chance to investigate and fix a PR would be much appreciated!"}}