{"action":"created","comment":{"url":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/comments/55893336","id":55893336,"diff_hunk":"@@ -502,10 +523,38 @@ const Demo = React.createClass({\n     });\n   },\n \n+  _nextSibling () {\n+    console.log('next');\n+  },\n+\n+  _previousSibling () {\n+    console.log('previous');\n+  },\n+\n+  _toggleDrawer () {\n+    this.setState({\n+      showDrawer: !this.state.showDrawer\n+    });\n+  },\n+\n   render () {\n+    const navContent = {\n+      duration: 200,\n+      onNextClick: this._nextSibling,\n+      label: _find(this.state.drawerSiblings, { selected: true }).id + ' of ' + this.state.drawerSiblings.length,\n+      onPreviousClick: this._previousSibling","path":"demo/app.js","position":68,"original_position":68,"commit_id":"d966c013f058435cb02a66736129e0ebfc1d16fd","original_commit_id":"d966c013f058435cb02a66736129e0ebfc1d16fd","user":{"login":"bsbeeks","id":714084,"avatar_url":"https://avatars.githubusercontent.com/u/714084?v=3","gravatar_id":"","url":"https://api.github.com/users/bsbeeks","html_url":"https://github.com/bsbeeks","followers_url":"https://api.github.com/users/bsbeeks/followers","following_url":"https://api.github.com/users/bsbeeks/following{/other_user}","gists_url":"https://api.github.com/users/bsbeeks/gists{/gist_id}","starred_url":"https://api.github.com/users/bsbeeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsbeeks/subscriptions","organizations_url":"https://api.github.com/users/bsbeeks/orgs","repos_url":"https://api.github.com/users/bsbeeks/repos","events_url":"https://api.github.com/users/bsbeeks/events{/privacy}","received_events_url":"https://api.github.com/users/bsbeeks/received_events","type":"User","site_admin":false},"body":"following our naming conventions it should be prefixed with `_handle`. `_handlePreviousSiblingClick`","created_at":"2016-03-11T21:46:26Z","updated_at":"2016-03-11T21:46:26Z","html_url":"https://github.com/mxenabled/mx-react-components/pull/206#discussion_r55893336","pull_request_url":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/206","_links":{"self":{"href":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/comments/55893336"},"html":{"href":"https://github.com/mxenabled/mx-react-components/pull/206#discussion_r55893336"},"pull_request":{"href":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/206"}}},"pull_request":{"url":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/206","id":62457935,"html_url":"https://github.com/mxenabled/mx-react-components/pull/206","diff_url":"https://github.com/mxenabled/mx-react-components/pull/206.diff","patch_url":"https://github.com/mxenabled/mx-react-components/pull/206.patch","issue_url":"https://api.github.com/repos/mxenabled/mx-react-components/issues/206","number":206,"state":"open","locked":false,"title":"Moore/simple drawer component","user":{"login":"paniclater","id":1081167,"avatar_url":"https://avatars.githubusercontent.com/u/1081167?v=3","gravatar_id":"","url":"https://api.github.com/users/paniclater","html_url":"https://github.com/paniclater","followers_url":"https://api.github.com/users/paniclater/followers","following_url":"https://api.github.com/users/paniclater/following{/other_user}","gists_url":"https://api.github.com/users/paniclater/gists{/gist_id}","starred_url":"https://api.github.com/users/paniclater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paniclater/subscriptions","organizations_url":"https://api.github.com/users/paniclater/orgs","repos_url":"https://api.github.com/users/paniclater/repos","events_url":"https://api.github.com/users/paniclater/events{/privacy}","received_events_url":"https://api.github.com/users/paniclater/received_events","type":"User","site_admin":false},"body":"Behold The Humble Beginnings of \\<Drawer /\\>\r\n--\r\n![screen shot 2016-03-10 at 1 40 05 pm](https://cloud.githubusercontent.com/assets/1081167/13684882/0c20b99e-e6cb-11e5-979d-75a78ed0ee69.png)\r\n\r\n--\r\nThis adds a new animated `Drawer` component to be used to replacing stacking modals.\r\nExample\r\n--\r\n```\r\n<Drawer \r\n  isOpen={this.state.showDrawer}\r\n  onClose={this._toggleDrawer}\r\n  siblingContent={navContent}>\r\n    <div>\r\n      Insert Custom Content Here\r\n    </div>\r\n</Drawer>\r\n```\r\nProps\r\n--\r\n-`duration` _Number_ **optional**\r\nNumber of miliseconds for opening animation to take. Defaults to 500 if not provided.\r\n\r\n-`easing` _Array_ **optional**\r\nBezier line curve array for easing. Defaults to [0.28, 0.14, 0.34, 1.04] if not provided.\r\nSee [here](http://cubic-bezier.com/#.17,.67,.83,.67) for more information on crafting this prop.\r\n\r\n- `isOpen` _Boolean_ **optional**\r\nSimple flag to be used to tell the drawer whether or not it should animate or remain open or closed\r\n\r\n- `onClose` _Function_ **optional** \r\nFunction to be called when drawer is closed\r\n\r\n- `navContent` _Object_ **Optional**\r\nObject passed in to render sibling content navigation and handlers. If `siblingContent` is passed in, it must adhere to the following `shape` propType requirement. The next sibling navigation will not be displayed unless this object is passed in with all required types.\r\n  - `duration` _Number_ **Optional**\r\n Optional duration for nav animations, if not provided, top level duration will be used.\r\n\r\n  - `label` _String_ **Required**\r\n  Text and other elements to be displayed in navContent\r\n\r\n  - `onNextClick` _Function_ **Required**\r\n  Function to be called when the next sibling caret is clicked\r\n\r\n  - `onPreviousClick` _Function_ **Required**\r\n  Function to be called when the previous sibling caret is clicked","created_at":"2016-03-10T21:21:34Z","updated_at":"2016-03-11T21:46:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9bed113d5c8f2aa22ac99440f1f48270b97982ed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/206/commits","review_comments_url":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/206/comments","review_comment_url":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mxenabled/mx-react-components/issues/206/comments","statuses_url":"https://api.github.com/repos/mxenabled/mx-react-components/statuses/d966c013f058435cb02a66736129e0ebfc1d16fd","head":{"label":"mxenabled:moore/simple_drawer_component","ref":"moore/simple_drawer_component","sha":"d966c013f058435cb02a66736129e0ebfc1d16fd","user":{"login":"mxenabled","id":991323,"avatar_url":"https://avatars.githubusercontent.com/u/991323?v=3","gravatar_id":"","url":"https://api.github.com/users/mxenabled","html_url":"https://github.com/mxenabled","followers_url":"https://api.github.com/users/mxenabled/followers","following_url":"https://api.github.com/users/mxenabled/following{/other_user}","gists_url":"https://api.github.com/users/mxenabled/gists{/gist_id}","starred_url":"https://api.github.com/users/mxenabled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxenabled/subscriptions","organizations_url":"https://api.github.com/users/mxenabled/orgs","repos_url":"https://api.github.com/users/mxenabled/repos","events_url":"https://api.github.com/users/mxenabled/events{/privacy}","received_events_url":"https://api.github.com/users/mxenabled/received_events","type":"Organization","site_admin":false},"repo":{"id":41570643,"name":"mx-react-components","full_name":"mxenabled/mx-react-components","owner":{"login":"mxenabled","id":991323,"avatar_url":"https://avatars.githubusercontent.com/u/991323?v=3","gravatar_id":"","url":"https://api.github.com/users/mxenabled","html_url":"https://github.com/mxenabled","followers_url":"https://api.github.com/users/mxenabled/followers","following_url":"https://api.github.com/users/mxenabled/following{/other_user}","gists_url":"https://api.github.com/users/mxenabled/gists{/gist_id}","starred_url":"https://api.github.com/users/mxenabled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxenabled/subscriptions","organizations_url":"https://api.github.com/users/mxenabled/orgs","repos_url":"https://api.github.com/users/mxenabled/repos","events_url":"https://api.github.com/users/mxenabled/events{/privacy}","received_events_url":"https://api.github.com/users/mxenabled/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mxenabled/mx-react-components","description":"A library of generic React components used at MX","fork":false,"url":"https://api.github.com/repos/mxenabled/mx-react-components","forks_url":"https://api.github.com/repos/mxenabled/mx-react-components/forks","keys_url":"https://api.github.com/repos/mxenabled/mx-react-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mxenabled/mx-react-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mxenabled/mx-react-components/teams","hooks_url":"https://api.github.com/repos/mxenabled/mx-react-components/hooks","issue_events_url":"https://api.github.com/repos/mxenabled/mx-react-components/issues/events{/number}","events_url":"https://api.github.com/repos/mxenabled/mx-react-components/events","assignees_url":"https://api.github.com/repos/mxenabled/mx-react-components/assignees{/user}","branches_url":"https://api.github.com/repos/mxenabled/mx-react-components/branches{/branch}","tags_url":"https://api.github.com/repos/mxenabled/mx-react-components/tags","blobs_url":"https://api.github.com/repos/mxenabled/mx-react-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mxenabled/mx-react-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mxenabled/mx-react-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/mxenabled/mx-react-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mxenabled/mx-react-components/statuses/{sha}","languages_url":"https://api.github.com/repos/mxenabled/mx-react-components/languages","stargazers_url":"https://api.github.com/repos/mxenabled/mx-react-components/stargazers","contributors_url":"https://api.github.com/repos/mxenabled/mx-react-components/contributors","subscribers_url":"https://api.github.com/repos/mxenabled/mx-react-components/subscribers","subscription_url":"https://api.github.com/repos/mxenabled/mx-react-components/subscription","commits_url":"https://api.github.com/repos/mxenabled/mx-react-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/mxenabled/mx-react-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/mxenabled/mx-react-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/mxenabled/mx-react-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/mxenabled/mx-react-components/contents/{+path}","compare_url":"https://api.github.com/repos/mxenabled/mx-react-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mxenabled/mx-react-components/merges","archive_url":"https://api.github.com/repos/mxenabled/mx-react-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mxenabled/mx-react-components/downloads","issues_url":"https://api.github.com/repos/mxenabled/mx-react-components/issues{/number}","pulls_url":"https://api.github.com/repos/mxenabled/mx-react-components/pulls{/number}","milestones_url":"https://api.github.com/repos/mxenabled/mx-react-components/milestones{/number}","notifications_url":"https://api.github.com/repos/mxenabled/mx-react-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mxenabled/mx-react-components/labels{/name}","releases_url":"https://api.github.com/repos/mxenabled/mx-react-components/releases{/id}","deployments_url":"https://api.github.com/repos/mxenabled/mx-react-components/deployments","created_at":"2015-08-28T21:47:32Z","updated_at":"2016-03-05T02:50:36Z","pushed_at":"2016-03-11T21:43:15Z","git_url":"git://github.com/mxenabled/mx-react-components.git","ssh_url":"git@github.com:mxenabled/mx-react-components.git","clone_url":"https://github.com/mxenabled/mx-react-components.git","svn_url":"https://github.com/mxenabled/mx-react-components","homepage":null,"size":8160,"stargazers_count":24,"watchers_count":24,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":47,"mirror_url":null,"open_issues_count":22,"forks":47,"open_issues":22,"watchers":24,"default_branch":"master"}},"base":{"label":"mxenabled:master","ref":"master","sha":"b54331504d05b7fdf76d9a0f95099e39d1798d83","user":{"login":"mxenabled","id":991323,"avatar_url":"https://avatars.githubusercontent.com/u/991323?v=3","gravatar_id":"","url":"https://api.github.com/users/mxenabled","html_url":"https://github.com/mxenabled","followers_url":"https://api.github.com/users/mxenabled/followers","following_url":"https://api.github.com/users/mxenabled/following{/other_user}","gists_url":"https://api.github.com/users/mxenabled/gists{/gist_id}","starred_url":"https://api.github.com/users/mxenabled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxenabled/subscriptions","organizations_url":"https://api.github.com/users/mxenabled/orgs","repos_url":"https://api.github.com/users/mxenabled/repos","events_url":"https://api.github.com/users/mxenabled/events{/privacy}","received_events_url":"https://api.github.com/users/mxenabled/received_events","type":"Organization","site_admin":false},"repo":{"id":41570643,"name":"mx-react-components","full_name":"mxenabled/mx-react-components","owner":{"login":"mxenabled","id":991323,"avatar_url":"https://avatars.githubusercontent.com/u/991323?v=3","gravatar_id":"","url":"https://api.github.com/users/mxenabled","html_url":"https://github.com/mxenabled","followers_url":"https://api.github.com/users/mxenabled/followers","following_url":"https://api.github.com/users/mxenabled/following{/other_user}","gists_url":"https://api.github.com/users/mxenabled/gists{/gist_id}","starred_url":"https://api.github.com/users/mxenabled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxenabled/subscriptions","organizations_url":"https://api.github.com/users/mxenabled/orgs","repos_url":"https://api.github.com/users/mxenabled/repos","events_url":"https://api.github.com/users/mxenabled/events{/privacy}","received_events_url":"https://api.github.com/users/mxenabled/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mxenabled/mx-react-components","description":"A library of generic React components used at MX","fork":false,"url":"https://api.github.com/repos/mxenabled/mx-react-components","forks_url":"https://api.github.com/repos/mxenabled/mx-react-components/forks","keys_url":"https://api.github.com/repos/mxenabled/mx-react-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mxenabled/mx-react-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mxenabled/mx-react-components/teams","hooks_url":"https://api.github.com/repos/mxenabled/mx-react-components/hooks","issue_events_url":"https://api.github.com/repos/mxenabled/mx-react-components/issues/events{/number}","events_url":"https://api.github.com/repos/mxenabled/mx-react-components/events","assignees_url":"https://api.github.com/repos/mxenabled/mx-react-components/assignees{/user}","branches_url":"https://api.github.com/repos/mxenabled/mx-react-components/branches{/branch}","tags_url":"https://api.github.com/repos/mxenabled/mx-react-components/tags","blobs_url":"https://api.github.com/repos/mxenabled/mx-react-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mxenabled/mx-react-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mxenabled/mx-react-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/mxenabled/mx-react-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mxenabled/mx-react-components/statuses/{sha}","languages_url":"https://api.github.com/repos/mxenabled/mx-react-components/languages","stargazers_url":"https://api.github.com/repos/mxenabled/mx-react-components/stargazers","contributors_url":"https://api.github.com/repos/mxenabled/mx-react-components/contributors","subscribers_url":"https://api.github.com/repos/mxenabled/mx-react-components/subscribers","subscription_url":"https://api.github.com/repos/mxenabled/mx-react-components/subscription","commits_url":"https://api.github.com/repos/mxenabled/mx-react-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/mxenabled/mx-react-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/mxenabled/mx-react-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/mxenabled/mx-react-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/mxenabled/mx-react-components/contents/{+path}","compare_url":"https://api.github.com/repos/mxenabled/mx-react-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mxenabled/mx-react-components/merges","archive_url":"https://api.github.com/repos/mxenabled/mx-react-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mxenabled/mx-react-components/downloads","issues_url":"https://api.github.com/repos/mxenabled/mx-react-components/issues{/number}","pulls_url":"https://api.github.com/repos/mxenabled/mx-react-components/pulls{/number}","milestones_url":"https://api.github.com/repos/mxenabled/mx-react-components/milestones{/number}","notifications_url":"https://api.github.com/repos/mxenabled/mx-react-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mxenabled/mx-react-components/labels{/name}","releases_url":"https://api.github.com/repos/mxenabled/mx-react-components/releases{/id}","deployments_url":"https://api.github.com/repos/mxenabled/mx-react-components/deployments","created_at":"2015-08-28T21:47:32Z","updated_at":"2016-03-05T02:50:36Z","pushed_at":"2016-03-11T21:43:15Z","git_url":"git://github.com/mxenabled/mx-react-components.git","ssh_url":"git@github.com:mxenabled/mx-react-components.git","clone_url":"https://github.com/mxenabled/mx-react-components.git","svn_url":"https://github.com/mxenabled/mx-react-components","homepage":null,"size":8160,"stargazers_count":24,"watchers_count":24,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":47,"mirror_url":null,"open_issues_count":22,"forks":47,"open_issues":22,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/206"},"html":{"href":"https://github.com/mxenabled/mx-react-components/pull/206"},"issue":{"href":"https://api.github.com/repos/mxenabled/mx-react-components/issues/206"},"comments":{"href":"https://api.github.com/repos/mxenabled/mx-react-components/issues/206/comments"},"review_comments":{"href":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/206/comments"},"review_comment":{"href":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mxenabled/mx-react-components/pulls/206/commits"},"statuses":{"href":"https://api.github.com/repos/mxenabled/mx-react-components/statuses/d966c013f058435cb02a66736129e0ebfc1d16fd"}}}}