{"action":"opened","issue":{"url":"https://api.github.com/repos/dabit3/react-native-hackathon-starter/issues/13","repository_url":"https://api.github.com/repos/dabit3/react-native-hackathon-starter","labels_url":"https://api.github.com/repos/dabit3/react-native-hackathon-starter/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/dabit3/react-native-hackathon-starter/issues/13/comments","events_url":"https://api.github.com/repos/dabit3/react-native-hackathon-starter/issues/13/events","html_url":"https://github.com/dabit3/react-native-hackathon-starter/issues/13","id":192103569,"number":13,"title":"Button's onPress cannot call a lass as a function","user":{"login":"itagakixt","id":12422180,"avatar_url":"https://avatars.githubusercontent.com/u/12422180?v=3","gravatar_id":"","url":"https://api.github.com/users/itagakixt","html_url":"https://github.com/itagakixt","followers_url":"https://api.github.com/users/itagakixt/followers","following_url":"https://api.github.com/users/itagakixt/following{/other_user}","gists_url":"https://api.github.com/users/itagakixt/gists{/gist_id}","starred_url":"https://api.github.com/users/itagakixt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itagakixt/subscriptions","organizations_url":"https://api.github.com/users/itagakixt/orgs","repos_url":"https://api.github.com/users/itagakixt/repos","events_url":"https://api.github.com/users/itagakixt/events{/privacy}","received_events_url":"https://api.github.com/users/itagakixt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-28T20:03:41Z","updated_at":"2016-11-28T20:03:41Z","closed_at":null,"body":"Hello,\r\n\r\nI expect button will open another screen.\r\n\r\nI create a test program to call another class using button's onPress.\r\nBut it failed with error(cannot call a lass as a function).\r\n\r\n<Button\r\n          small\r\n          backgroundColor={socialColors.facebook}\r\n          onPress={() => Home1()}\r\n          title='Information'\r\n          buttonStyle={styles.button} />\r\n\r\nHow can I call class Button's onPress?\r\n\r\nOr class has to change to function?\r\n\r\nAny suggestion will be appreciated.\r\n\r\nThanks,\r\nShoji"}}
{"actor":{"display_login":"itagakixt"}}