{"action":"created","issue":{"url":"https://api.github.com/repos/christopherdro/react-native-calendar/issues/62","repository_url":"https://api.github.com/repos/christopherdro/react-native-calendar","labels_url":"https://api.github.com/repos/christopherdro/react-native-calendar/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/christopherdro/react-native-calendar/issues/62/comments","events_url":"https://api.github.com/repos/christopherdro/react-native-calendar/issues/62/events","html_url":"https://github.com/christopherdro/react-native-calendar/pull/62","id":173198496,"number":62,"title":"Allow React elements as button texts","user":{"login":"jevakallio","id":1203949,"avatar_url":"https://avatars.githubusercontent.com/u/1203949?v=3","gravatar_id":"","url":"https://api.github.com/users/jevakallio","html_url":"https://github.com/jevakallio","followers_url":"https://api.github.com/users/jevakallio/followers","following_url":"https://api.github.com/users/jevakallio/following{/other_user}","gists_url":"https://api.github.com/users/jevakallio/gists{/gist_id}","starred_url":"https://api.github.com/users/jevakallio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jevakallio/subscriptions","organizations_url":"https://api.github.com/users/jevakallio/orgs","repos_url":"https://api.github.com/users/jevakallio/repos","events_url":"https://api.github.com/users/jevakallio/events{/privacy}","received_events_url":"https://api.github.com/users/jevakallio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-25T13:09:16Z","updated_at":"2016-08-25T14:10:36Z","closed_at":"2016-08-25T14:10:36Z","pull_request":{"url":"https://api.github.com/repos/christopherdro/react-native-calendar/pulls/62","html_url":"https://github.com/christopherdro/react-native-calendar/pull/62","diff_url":"https://github.com/christopherdro/react-native-calendar/pull/62.diff","patch_url":"https://github.com/christopherdro/react-native-calendar/pull/62.patch"},"body":"Hi,\r\n\r\nThanks for the great library 👌 \r\n\r\nThis tiny patch makes it possible to use pass `<Image />` instances to `nextButtonText` and `prevButtonText` props. This functionality already exists and works correctly as-is, because the React Native `<Text>` element allows images as children, but the propType declaration causes warnings when the value is not a string.\r\n\r\nExample of usage:\r\n```\r\n  <Calendar\r\n     prevButtonText={<Image source={images.arrowLeft} />}\r\n     nextButtonText={<Image source={images.arrowRight} />}\r\n     ...etc\r\n   />\r\n```\r\n\r\n![screen shot 2016-08-25 at 14 07 31](https://cloud.githubusercontent.com/assets/1203949/17970164/4e2ca402-6acd-11e6-8ebb-7709698be9b4.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/christopherdro/react-native-calendar/issues/comments/242400400","html_url":"https://github.com/christopherdro/react-native-calendar/pull/62#issuecomment-242400400","issue_url":"https://api.github.com/repos/christopherdro/react-native-calendar/issues/62","id":242400400,"user":{"login":"jevakallio","id":1203949,"avatar_url":"https://avatars.githubusercontent.com/u/1203949?v=3","gravatar_id":"","url":"https://api.github.com/users/jevakallio","html_url":"https://github.com/jevakallio","followers_url":"https://api.github.com/users/jevakallio/followers","following_url":"https://api.github.com/users/jevakallio/following{/other_user}","gists_url":"https://api.github.com/users/jevakallio/gists{/gist_id}","starred_url":"https://api.github.com/users/jevakallio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jevakallio/subscriptions","organizations_url":"https://api.github.com/users/jevakallio/orgs","repos_url":"https://api.github.com/users/jevakallio/repos","events_url":"https://api.github.com/users/jevakallio/events{/privacy}","received_events_url":"https://api.github.com/users/jevakallio/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T14:10:36Z","updated_at":"2016-08-25T14:10:36Z","body":"Oh man, I should've probably read the existing PRs before submitting one, turns out this is a duplicate of https://github.com/christopherdro/react-native-calendar/pull/56 :) \r\n\r\nClosing this as a duplice"}}
{"actor":{"display_login":"jevakallio"}}