{"action":"created","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-elements/issues/78","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/78/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-elements/issues/78/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-elements/issues/78/events","html_url":"https://github.com/react-native-community/react-native-elements/issues/78","id":185922125,"number":78,"title":"Invalid prop 'component' on Icon","user":{"login":"jjdp","id":5244520,"avatar_url":"https://avatars.githubusercontent.com/u/5244520?v=3","gravatar_id":"","url":"https://api.github.com/users/jjdp","html_url":"https://github.com/jjdp","followers_url":"https://api.github.com/users/jjdp/followers","following_url":"https://api.github.com/users/jjdp/following{/other_user}","gists_url":"https://api.github.com/users/jjdp/gists{/gist_id}","starred_url":"https://api.github.com/users/jjdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjdp/subscriptions","organizations_url":"https://api.github.com/users/jjdp/orgs","repos_url":"https://api.github.com/users/jjdp/repos","events_url":"https://api.github.com/users/jjdp/events{/privacy}","received_events_url":"https://api.github.com/users/jjdp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-28T13:23:42Z","updated_at":"2016-10-29T14:32:31Z","closed_at":null,"body":"    when I specify a component on an Icon like so:\r\n\r\n    <Icon\r\n      reverse\r\n      raised\r\n      name=\"chat\"\r\n      color=\"lightblue\"\r\n      component={TouchableOpacity}\r\n      onPress={() => console.log('hello')}\r\n    />\r\n\r\nit gives this warning Failed prop type: Invalid prop 'component' of type 'function' supplied to 'Icon', expected a single ReactElement"},"comment":{"url":"https://api.github.com/repos/react-native-community/react-native-elements/issues/comments/257094744","html_url":"https://github.com/react-native-community/react-native-elements/issues/78#issuecomment-257094744","issue_url":"https://api.github.com/repos/react-native-community/react-native-elements/issues/78","id":257094744,"user":{"login":"NikolaBorislavovHristov","id":5950722,"avatar_url":"https://avatars.githubusercontent.com/u/5950722?v=3","gravatar_id":"","url":"https://api.github.com/users/NikolaBorislavovHristov","html_url":"https://github.com/NikolaBorislavovHristov","followers_url":"https://api.github.com/users/NikolaBorislavovHristov/followers","following_url":"https://api.github.com/users/NikolaBorislavovHristov/following{/other_user}","gists_url":"https://api.github.com/users/NikolaBorislavovHristov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikolaBorislavovHristov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikolaBorislavovHristov/subscriptions","organizations_url":"https://api.github.com/users/NikolaBorislavovHristov/orgs","repos_url":"https://api.github.com/users/NikolaBorislavovHristov/repos","events_url":"https://api.github.com/users/NikolaBorislavovHristov/events{/privacy}","received_events_url":"https://api.github.com/users/NikolaBorislavovHristov/received_events","type":"User","site_admin":false},"created_at":"2016-10-29T14:32:31Z","updated_at":"2016-10-29T14:32:31Z","body":"try to use 'Component' instead of 'component'"}}
{"actor":{"display_login":"NikolaBorislavovHristov"}}