{"action":"created","issue":{"url":"https://api.github.com/repos/gpbl/react-day-picker/issues/89","repository_url":"https://api.github.com/repos/gpbl/react-day-picker","labels_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/89/comments","events_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/89/events","html_url":"https://github.com/gpbl/react-day-picker/issues/89","id":117024178,"number":89,"title":"New dayElement prop","user":{"login":"gpbl","id":120693,"avatar_url":"https://avatars.githubusercontent.com/u/120693?v=3","gravatar_id":"","url":"https://api.github.com/users/gpbl","html_url":"https://github.com/gpbl","followers_url":"https://api.github.com/users/gpbl/followers","following_url":"https://api.github.com/users/gpbl/following{/other_user}","gists_url":"https://api.github.com/users/gpbl/gists{/gist_id}","starred_url":"https://api.github.com/users/gpbl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpbl/subscriptions","organizations_url":"https://api.github.com/users/gpbl/orgs","repos_url":"https://api.github.com/users/gpbl/repos","events_url":"https://api.github.com/users/gpbl/events{/privacy}","received_events_url":"https://api.github.com/users/gpbl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gpbl/react-day-picker/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-15T22:39:43Z","updated_at":"2016-03-03T13:12:37Z","closed_at":null,"body":"This prop should replace the current `renderDay` prop (that should become deprecated) and accept a React Element that will receive the `day` prop, e.g.\r\n\r\n```js\r\nfunction MyCustomDay({ day }) {\r\n  return <div>{ day.toString() }</div>;\r\n}\r\n\r\nfunction MyComponent() {\r\n  return <DayPicker dayElement={ <MyCustomDay /> } />\r\n}\r\n```\r\n\r\n(this will supersede #50)"},"comment":{"url":"https://api.github.com/repos/gpbl/react-day-picker/issues/comments/191754866","html_url":"https://github.com/gpbl/react-day-picker/issues/89#issuecomment-191754866","issue_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/89","id":191754866,"user":{"login":"gpbl","id":120693,"avatar_url":"https://avatars.githubusercontent.com/u/120693?v=3","gravatar_id":"","url":"https://api.github.com/users/gpbl","html_url":"https://github.com/gpbl","followers_url":"https://api.github.com/users/gpbl/followers","following_url":"https://api.github.com/users/gpbl/following{/other_user}","gists_url":"https://api.github.com/users/gpbl/gists{/gist_id}","starred_url":"https://api.github.com/users/gpbl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpbl/subscriptions","organizations_url":"https://api.github.com/users/gpbl/orgs","repos_url":"https://api.github.com/users/gpbl/repos","events_url":"https://api.github.com/users/gpbl/events{/privacy}","received_events_url":"https://api.github.com/users/gpbl/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T13:12:37Z","updated_at":"2016-03-03T13:12:37Z","body":"@olegakbarov what you need the custom element for, if I may ask?"}}