{"action":"created","issue":{"url":"https://api.github.com/repos/gpbl/react-day-picker/issues/204","repository_url":"https://api.github.com/repos/gpbl/react-day-picker","labels_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/204/comments","events_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/204/events","html_url":"https://github.com/gpbl/react-day-picker/issues/204","id":173741244,"number":204,"title":"<RangeDayPicker /> component","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/discussion","name":"discussion","color":"5319e7"},{"url":"https://api.github.com/repos/gpbl/react-day-picker/labels/new%20feature","name":"new feature","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/gpbl/react-day-picker/milestones/1","html_url":"https://github.com/gpbl/react-day-picker/milestones/Next","labels_url":"https://api.github.com/repos/gpbl/react-day-picker/milestones/1/labels","id":1791762,"number":1,"title":"Next","description":"","creator":{"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},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2016-05-27T11:23:47Z","updated_at":"2016-08-29T10:15:14Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-08-29T10:10:10Z","updated_at":"2016-08-29T22:07:57Z","closed_at":null,"body":"[This example](http://www.gpbl.org/react-day-picker/examples/?rangeAdvanced) (see discussion in #202) has some logic that could be extracted in an external component.\r\n\r\nInspired by the [date picker](http://airbnb.io/react-dates/?selectedKind=DateRangePicker&selectedStory=with%20some%20blocked%20dates&full=0&down=1&left=1&panelRight=0) from Airbnb, a possible API would be:\r\n\r\n```xml\r\nimport { RangeDayPicker } from 'react-day-picker;\r\n\r\n<RangeDayPicker\r\n  minimumNights={ 3 }\r\n  onRangeSelect={ range => handleRangeSelect(range) }\r\n/>\r\n```\r\n\r\nWondering if the component could even allow multiple ranges... "},"comment":{"url":"https://api.github.com/repos/gpbl/react-day-picker/issues/comments/243272856","html_url":"https://github.com/gpbl/react-day-picker/issues/204#issuecomment-243272856","issue_url":"https://api.github.com/repos/gpbl/react-day-picker/issues/204","id":243272856,"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-08-29T22:07:57Z","updated_at":"2016-08-29T22:07:57Z","body":"@adidahiya awesome! thanks for your comment.\r\n\r\nI'd like to compare your implementation to those in my examples (that one with the mouse it's not working 100% as expected, yet). I'm very curious about your UI library as well.\r\n\r\nMaybe `<Day*s*RangePicker />`? 🤔"}}
{"actor":{"display_login":"gpbl"}}