{"action":"created","comment":{"url":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/comments/72177895","id":72177895,"diff_hunk":"@@ -281,7 +283,7 @@ export default class Autowhatever extends Component {\n \n     return (\n       <div {...theme(`react-autowhatever-${id}-container`, 'container', isOpen && 'containerOpen')}>\n-        <input {...inputProps} />\n+        {this.props.renderInput(inputProps)}","path":"src/Autowhatever.js","position":21,"original_position":21,"commit_id":"447fa2533bcd3c8e762640b2d9c19f844fc08e3e","original_commit_id":"447fa2533bcd3c8e762640b2d9c19f844fc08e3e","user":{"login":"moroshko","id":259753,"avatar_url":"https://avatars.githubusercontent.com/u/259753?v=3","gravatar_id":"","url":"https://api.github.com/users/moroshko","html_url":"https://github.com/moroshko","followers_url":"https://api.github.com/users/moroshko/followers","following_url":"https://api.github.com/users/moroshko/following{/other_user}","gists_url":"https://api.github.com/users/moroshko/gists{/gist_id}","starred_url":"https://api.github.com/users/moroshko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moroshko/subscriptions","organizations_url":"https://api.github.com/users/moroshko/orgs","repos_url":"https://api.github.com/users/moroshko/repos","events_url":"https://api.github.com/users/moroshko/events{/privacy}","received_events_url":"https://api.github.com/users/moroshko/received_events","type":"User","site_admin":false},"body":"Great! Could you please update the PR with `inputElement`, and add a demo? If you could add tests as well that would be great.","created_at":"2016-07-26T02:08:48Z","updated_at":"2016-07-26T02:08:48Z","html_url":"https://github.com/moroshko/react-autowhatever/pull/16#discussion_r72177895","pull_request_url":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/comments/72177895"},"html":{"href":"https://github.com/moroshko/react-autowhatever/pull/16#discussion_r72177895"},"pull_request":{"href":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/16","id":78582113,"html_url":"https://github.com/moroshko/react-autowhatever/pull/16","diff_url":"https://github.com/moroshko/react-autowhatever/pull/16.diff","patch_url":"https://github.com/moroshko/react-autowhatever/pull/16.patch","issue_url":"https://api.github.com/repos/moroshko/react-autowhatever/issues/16","number":16,"state":"open","locked":false,"title":"allow custom input rendering by exposing a render function for it","user":{"login":"novascreen","id":1596280,"avatar_url":"https://avatars.githubusercontent.com/u/1596280?v=3","gravatar_id":"","url":"https://api.github.com/users/novascreen","html_url":"https://github.com/novascreen","followers_url":"https://api.github.com/users/novascreen/followers","following_url":"https://api.github.com/users/novascreen/following{/other_user}","gists_url":"https://api.github.com/users/novascreen/gists{/gist_id}","starred_url":"https://api.github.com/users/novascreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novascreen/subscriptions","organizations_url":"https://api.github.com/users/novascreen/orgs","repos_url":"https://api.github.com/users/novascreen/repos","events_url":"https://api.github.com/users/novascreen/events{/privacy}","received_events_url":"https://api.github.com/users/novascreen/received_events","type":"User","site_admin":false},"body":"Hey @moroshko this pull request is related to moroshko/react-autosuggest#49\r\nI'm happy to do a PR there as well to pass down the new prop and add some documentation if you'll accept this. I think it's pretty essential to let people override the input element with their own component or components from whatever UI library they use - in my case that would be the TextField from Material UI. Your autosuggest component is absolutely fantastic, this seems to me the only thing preventing it from being used in an even wider range of environments.","created_at":"2016-07-23T20:43:33Z","updated_at":"2016-07-26T02:08:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a55113dc3031194138287a4ecbde5f31c9e7e612","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/16/commits","review_comments_url":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/16/comments","review_comment_url":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moroshko/react-autowhatever/issues/16/comments","statuses_url":"https://api.github.com/repos/moroshko/react-autowhatever/statuses/447fa2533bcd3c8e762640b2d9c19f844fc08e3e","head":{"label":"novascreen:allow-custom-input","ref":"allow-custom-input","sha":"447fa2533bcd3c8e762640b2d9c19f844fc08e3e","user":{"login":"novascreen","id":1596280,"avatar_url":"https://avatars.githubusercontent.com/u/1596280?v=3","gravatar_id":"","url":"https://api.github.com/users/novascreen","html_url":"https://github.com/novascreen","followers_url":"https://api.github.com/users/novascreen/followers","following_url":"https://api.github.com/users/novascreen/following{/other_user}","gists_url":"https://api.github.com/users/novascreen/gists{/gist_id}","starred_url":"https://api.github.com/users/novascreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novascreen/subscriptions","organizations_url":"https://api.github.com/users/novascreen/orgs","repos_url":"https://api.github.com/users/novascreen/repos","events_url":"https://api.github.com/users/novascreen/events{/privacy}","received_events_url":"https://api.github.com/users/novascreen/received_events","type":"User","site_admin":false},"repo":{"id":64033954,"name":"react-autowhatever","full_name":"novascreen/react-autowhatever","owner":{"login":"novascreen","id":1596280,"avatar_url":"https://avatars.githubusercontent.com/u/1596280?v=3","gravatar_id":"","url":"https://api.github.com/users/novascreen","html_url":"https://github.com/novascreen","followers_url":"https://api.github.com/users/novascreen/followers","following_url":"https://api.github.com/users/novascreen/following{/other_user}","gists_url":"https://api.github.com/users/novascreen/gists{/gist_id}","starred_url":"https://api.github.com/users/novascreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novascreen/subscriptions","organizations_url":"https://api.github.com/users/novascreen/orgs","repos_url":"https://api.github.com/users/novascreen/repos","events_url":"https://api.github.com/users/novascreen/events{/privacy}","received_events_url":"https://api.github.com/users/novascreen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/novascreen/react-autowhatever","description":"Accessible rendering layer for Autosuggest and Autocomplete components","fork":true,"url":"https://api.github.com/repos/novascreen/react-autowhatever","forks_url":"https://api.github.com/repos/novascreen/react-autowhatever/forks","keys_url":"https://api.github.com/repos/novascreen/react-autowhatever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novascreen/react-autowhatever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novascreen/react-autowhatever/teams","hooks_url":"https://api.github.com/repos/novascreen/react-autowhatever/hooks","issue_events_url":"https://api.github.com/repos/novascreen/react-autowhatever/issues/events{/number}","events_url":"https://api.github.com/repos/novascreen/react-autowhatever/events","assignees_url":"https://api.github.com/repos/novascreen/react-autowhatever/assignees{/user}","branches_url":"https://api.github.com/repos/novascreen/react-autowhatever/branches{/branch}","tags_url":"https://api.github.com/repos/novascreen/react-autowhatever/tags","blobs_url":"https://api.github.com/repos/novascreen/react-autowhatever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novascreen/react-autowhatever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novascreen/react-autowhatever/git/refs{/sha}","trees_url":"https://api.github.com/repos/novascreen/react-autowhatever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novascreen/react-autowhatever/statuses/{sha}","languages_url":"https://api.github.com/repos/novascreen/react-autowhatever/languages","stargazers_url":"https://api.github.com/repos/novascreen/react-autowhatever/stargazers","contributors_url":"https://api.github.com/repos/novascreen/react-autowhatever/contributors","subscribers_url":"https://api.github.com/repos/novascreen/react-autowhatever/subscribers","subscription_url":"https://api.github.com/repos/novascreen/react-autowhatever/subscription","commits_url":"https://api.github.com/repos/novascreen/react-autowhatever/commits{/sha}","git_commits_url":"https://api.github.com/repos/novascreen/react-autowhatever/git/commits{/sha}","comments_url":"https://api.github.com/repos/novascreen/react-autowhatever/comments{/number}","issue_comment_url":"https://api.github.com/repos/novascreen/react-autowhatever/issues/comments{/number}","contents_url":"https://api.github.com/repos/novascreen/react-autowhatever/contents/{+path}","compare_url":"https://api.github.com/repos/novascreen/react-autowhatever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novascreen/react-autowhatever/merges","archive_url":"https://api.github.com/repos/novascreen/react-autowhatever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novascreen/react-autowhatever/downloads","issues_url":"https://api.github.com/repos/novascreen/react-autowhatever/issues{/number}","pulls_url":"https://api.github.com/repos/novascreen/react-autowhatever/pulls{/number}","milestones_url":"https://api.github.com/repos/novascreen/react-autowhatever/milestones{/number}","notifications_url":"https://api.github.com/repos/novascreen/react-autowhatever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novascreen/react-autowhatever/labels{/name}","releases_url":"https://api.github.com/repos/novascreen/react-autowhatever/releases{/id}","deployments_url":"https://api.github.com/repos/novascreen/react-autowhatever/deployments","created_at":"2016-07-23T20:05:25Z","updated_at":"2016-07-23T20:05:26Z","pushed_at":"2016-07-23T20:30:53Z","git_url":"git://github.com/novascreen/react-autowhatever.git","ssh_url":"git@github.com:novascreen/react-autowhatever.git","clone_url":"https://github.com/novascreen/react-autowhatever.git","svn_url":"https://github.com/novascreen/react-autowhatever","homepage":"http://react-autowhatever.js.org","size":438,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"moroshko:master","ref":"master","sha":"ae0af99493be24039e5ab059c14db58993873164","user":{"login":"moroshko","id":259753,"avatar_url":"https://avatars.githubusercontent.com/u/259753?v=3","gravatar_id":"","url":"https://api.github.com/users/moroshko","html_url":"https://github.com/moroshko","followers_url":"https://api.github.com/users/moroshko/followers","following_url":"https://api.github.com/users/moroshko/following{/other_user}","gists_url":"https://api.github.com/users/moroshko/gists{/gist_id}","starred_url":"https://api.github.com/users/moroshko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moroshko/subscriptions","organizations_url":"https://api.github.com/users/moroshko/orgs","repos_url":"https://api.github.com/users/moroshko/repos","events_url":"https://api.github.com/users/moroshko/events{/privacy}","received_events_url":"https://api.github.com/users/moroshko/received_events","type":"User","site_admin":false},"repo":{"id":40651356,"name":"react-autowhatever","full_name":"moroshko/react-autowhatever","owner":{"login":"moroshko","id":259753,"avatar_url":"https://avatars.githubusercontent.com/u/259753?v=3","gravatar_id":"","url":"https://api.github.com/users/moroshko","html_url":"https://github.com/moroshko","followers_url":"https://api.github.com/users/moroshko/followers","following_url":"https://api.github.com/users/moroshko/following{/other_user}","gists_url":"https://api.github.com/users/moroshko/gists{/gist_id}","starred_url":"https://api.github.com/users/moroshko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moroshko/subscriptions","organizations_url":"https://api.github.com/users/moroshko/orgs","repos_url":"https://api.github.com/users/moroshko/repos","events_url":"https://api.github.com/users/moroshko/events{/privacy}","received_events_url":"https://api.github.com/users/moroshko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moroshko/react-autowhatever","description":"Accessible rendering layer for Autosuggest and Autocomplete components","fork":false,"url":"https://api.github.com/repos/moroshko/react-autowhatever","forks_url":"https://api.github.com/repos/moroshko/react-autowhatever/forks","keys_url":"https://api.github.com/repos/moroshko/react-autowhatever/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moroshko/react-autowhatever/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moroshko/react-autowhatever/teams","hooks_url":"https://api.github.com/repos/moroshko/react-autowhatever/hooks","issue_events_url":"https://api.github.com/repos/moroshko/react-autowhatever/issues/events{/number}","events_url":"https://api.github.com/repos/moroshko/react-autowhatever/events","assignees_url":"https://api.github.com/repos/moroshko/react-autowhatever/assignees{/user}","branches_url":"https://api.github.com/repos/moroshko/react-autowhatever/branches{/branch}","tags_url":"https://api.github.com/repos/moroshko/react-autowhatever/tags","blobs_url":"https://api.github.com/repos/moroshko/react-autowhatever/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moroshko/react-autowhatever/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moroshko/react-autowhatever/git/refs{/sha}","trees_url":"https://api.github.com/repos/moroshko/react-autowhatever/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moroshko/react-autowhatever/statuses/{sha}","languages_url":"https://api.github.com/repos/moroshko/react-autowhatever/languages","stargazers_url":"https://api.github.com/repos/moroshko/react-autowhatever/stargazers","contributors_url":"https://api.github.com/repos/moroshko/react-autowhatever/contributors","subscribers_url":"https://api.github.com/repos/moroshko/react-autowhatever/subscribers","subscription_url":"https://api.github.com/repos/moroshko/react-autowhatever/subscription","commits_url":"https://api.github.com/repos/moroshko/react-autowhatever/commits{/sha}","git_commits_url":"https://api.github.com/repos/moroshko/react-autowhatever/git/commits{/sha}","comments_url":"https://api.github.com/repos/moroshko/react-autowhatever/comments{/number}","issue_comment_url":"https://api.github.com/repos/moroshko/react-autowhatever/issues/comments{/number}","contents_url":"https://api.github.com/repos/moroshko/react-autowhatever/contents/{+path}","compare_url":"https://api.github.com/repos/moroshko/react-autowhatever/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moroshko/react-autowhatever/merges","archive_url":"https://api.github.com/repos/moroshko/react-autowhatever/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moroshko/react-autowhatever/downloads","issues_url":"https://api.github.com/repos/moroshko/react-autowhatever/issues{/number}","pulls_url":"https://api.github.com/repos/moroshko/react-autowhatever/pulls{/number}","milestones_url":"https://api.github.com/repos/moroshko/react-autowhatever/milestones{/number}","notifications_url":"https://api.github.com/repos/moroshko/react-autowhatever/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moroshko/react-autowhatever/labels{/name}","releases_url":"https://api.github.com/repos/moroshko/react-autowhatever/releases{/id}","deployments_url":"https://api.github.com/repos/moroshko/react-autowhatever/deployments","created_at":"2015-08-13T09:48:16Z","updated_at":"2016-07-25T16:13:20Z","pushed_at":"2016-07-24T13:59:51Z","git_url":"git://github.com/moroshko/react-autowhatever.git","ssh_url":"git@github.com:moroshko/react-autowhatever.git","clone_url":"https://github.com/moroshko/react-autowhatever.git","svn_url":"https://github.com/moroshko/react-autowhatever","homepage":"http://react-autowhatever.js.org","size":527,"stargazers_count":28,"watchers_count":28,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":17,"mirror_url":null,"open_issues_count":5,"forks":17,"open_issues":5,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/16"},"html":{"href":"https://github.com/moroshko/react-autowhatever/pull/16"},"issue":{"href":"https://api.github.com/repos/moroshko/react-autowhatever/issues/16"},"comments":{"href":"https://api.github.com/repos/moroshko/react-autowhatever/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moroshko/react-autowhatever/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/moroshko/react-autowhatever/statuses/447fa2533bcd3c8e762640b2d9c19f844fc08e3e"}}}}
{"actor":{"display_login":"moroshko"}}