{"action":"created","issue":{"url":"https://api.github.com/repos/gpbl/react-day-picker/issues/13","labels_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/13/comments","events_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/13/events","html_url":"https://github.com/gpbl/react-day-picker/pull/13","id":68214549,"number":13,"title":"Adds 'numberOfMonths' option to the DayPicker, allowing multiple months to be displayed side-by-side.","user":{"login":"majapw","id":1383861,"avatar_url":"https://avatars.githubusercontent.com/u/1383861?v=3","gravatar_id":"","url":"https://api.github.com/users/majapw","html_url":"https://github.com/majapw","followers_url":"https://api.github.com/users/majapw/followers","following_url":"https://api.github.com/users/majapw/following{/other_user}","gists_url":"https://api.github.com/users/majapw/gists{/gist_id}","starred_url":"https://api.github.com/users/majapw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majapw/subscriptions","organizations_url":"https://api.github.com/users/majapw/orgs","repos_url":"https://api.github.com/users/majapw/repos","events_url":"https://api.github.com/users/majapw/events{/privacy}","received_events_url":"https://api.github.com/users/majapw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-13T23:03:39Z","updated_at":"2015-04-14T06:12:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gpbl/react-day-picker/pulls/13","html_url":"https://github.com/gpbl/react-day-picker/pull/13","diff_url":"https://github.com/gpbl/react-day-picker/pull/13.diff","patch_url":"https://github.com/gpbl/react-day-picker/pull/13.patch"},"body":"In reference to https://github.com/gpbl/react-day-picker/issues/11, @iancmyers @gpbl\r\n\r\nI separated out the logic to render a single month into its own method, and simply called it as many times as was indicated by the new property. Each month is its own table, and I added some custom styling to the example css to make the months render side-by-side (which I think is desirable). \r\n\r\nHere are some screenshots of the example with multiple months:\r\n![screen shot 2015-04-13 at 3 21 01 pm](https://cloud.githubusercontent.com/assets/1383861/7127252/358ab4f4-e1f6-11e4-970b-042f3cd8076e.png)\r\n![3-months-visible](https://cloud.githubusercontent.com/assets/1383861/7127249/33f9820a-e1f6-11e4-976e-4ebf43b13261.png)\r\n\r\nIt was super awesome how easy it was to add this functionality! :) Let me know what you guys think? This does not affect the default calendar whatsoever. It still functions exactly as it did before.\r\n "},"comment":{"url":"https://api.github.com/repos/gpbl/react-day-picker/issues/comments/92629834","html_url":"https://github.com/gpbl/react-day-picker/pull/13#issuecomment-92629834","issue_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/13","id":92629834,"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":"2015-04-14T06:12:59Z","updated_at":"2015-04-14T06:12:59Z","body":"@majapw awesome, thanks a lot! Would you mind to update your pull request with the small changes I commented above?"}}