{"action":"closed","number":46,"pull_request":{"url":"https://api.github.com/repos/effektif/react-mentions/pulls/46","id":44934688,"html_url":"https://github.com/effektif/react-mentions/pull/46","diff_url":"https://github.com/effektif/react-mentions/pull/46.diff","patch_url":"https://github.com/effektif/react-mentions/pull/46.patch","issue_url":"https://api.github.com/repos/effektif/react-mentions/issues/46","number":46,"state":"closed","locked":false,"title":"Pass payload to custom suggestion render","user":{"login":"rodrigues","id":128147,"avatar_url":"https://avatars.githubusercontent.com/u/128147?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigues","html_url":"https://github.com/rodrigues","followers_url":"https://api.github.com/users/rodrigues/followers","following_url":"https://api.github.com/users/rodrigues/following{/other_user}","gists_url":"https://api.github.com/users/rodrigues/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigues/subscriptions","organizations_url":"https://api.github.com/users/rodrigues/orgs","repos_url":"https://api.github.com/users/rodrigues/repos","events_url":"https://api.github.com/users/rodrigues/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigues/received_events","type":"User","site_admin":false},"body":"Hi!\r\n\r\nI wanted to render the suggestion with a thumbnail, that was part of the search result payload, but not being passed to the custom `renderSuggestion` call.\r\n\r\nResolved this passing the `suggestion` as a last parameter.\r\n\r\nOpening this PR in case you want to merge it in :+1: ","created_at":"2015-09-14T14:13:40Z","updated_at":"2015-09-14T14:34:23Z","closed_at":"2015-09-14T14:34:23Z","merged_at":null,"merge_commit_sha":"6fb9c97e622d69ecbcc39516880a7e92a36490b8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/effektif/react-mentions/pulls/46/commits","review_comments_url":"https://api.github.com/repos/effektif/react-mentions/pulls/46/comments","review_comment_url":"https://api.github.com/repos/effektif/react-mentions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/effektif/react-mentions/issues/46/comments","statuses_url":"https://api.github.com/repos/effektif/react-mentions/statuses/dc0772be5581cef27dc3a0f3f40bf932cbd83688","head":{"label":"rodrigues:pass-suggestion-object","ref":"pass-suggestion-object","sha":"dc0772be5581cef27dc3a0f3f40bf932cbd83688","user":{"login":"rodrigues","id":128147,"avatar_url":"https://avatars.githubusercontent.com/u/128147?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigues","html_url":"https://github.com/rodrigues","followers_url":"https://api.github.com/users/rodrigues/followers","following_url":"https://api.github.com/users/rodrigues/following{/other_user}","gists_url":"https://api.github.com/users/rodrigues/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigues/subscriptions","organizations_url":"https://api.github.com/users/rodrigues/orgs","repos_url":"https://api.github.com/users/rodrigues/repos","events_url":"https://api.github.com/users/rodrigues/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigues/received_events","type":"User","site_admin":false},"repo":{"id":42452681,"name":"react-mentions","full_name":"rodrigues/react-mentions","owner":{"login":"rodrigues","id":128147,"avatar_url":"https://avatars.githubusercontent.com/u/128147?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigues","html_url":"https://github.com/rodrigues","followers_url":"https://api.github.com/users/rodrigues/followers","following_url":"https://api.github.com/users/rodrigues/following{/other_user}","gists_url":"https://api.github.com/users/rodrigues/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigues/subscriptions","organizations_url":"https://api.github.com/users/rodrigues/orgs","repos_url":"https://api.github.com/users/rodrigues/repos","events_url":"https://api.github.com/users/rodrigues/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigues/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rodrigues/react-mentions","description":"@mention people in a textarea","fork":true,"url":"https://api.github.com/repos/rodrigues/react-mentions","forks_url":"https://api.github.com/repos/rodrigues/react-mentions/forks","keys_url":"https://api.github.com/repos/rodrigues/react-mentions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rodrigues/react-mentions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rodrigues/react-mentions/teams","hooks_url":"https://api.github.com/repos/rodrigues/react-mentions/hooks","issue_events_url":"https://api.github.com/repos/rodrigues/react-mentions/issues/events{/number}","events_url":"https://api.github.com/repos/rodrigues/react-mentions/events","assignees_url":"https://api.github.com/repos/rodrigues/react-mentions/assignees{/user}","branches_url":"https://api.github.com/repos/rodrigues/react-mentions/branches{/branch}","tags_url":"https://api.github.com/repos/rodrigues/react-mentions/tags","blobs_url":"https://api.github.com/repos/rodrigues/react-mentions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rodrigues/react-mentions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rodrigues/react-mentions/git/refs{/sha}","trees_url":"https://api.github.com/repos/rodrigues/react-mentions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rodrigues/react-mentions/statuses/{sha}","languages_url":"https://api.github.com/repos/rodrigues/react-mentions/languages","stargazers_url":"https://api.github.com/repos/rodrigues/react-mentions/stargazers","contributors_url":"https://api.github.com/repos/rodrigues/react-mentions/contributors","subscribers_url":"https://api.github.com/repos/rodrigues/react-mentions/subscribers","subscription_url":"https://api.github.com/repos/rodrigues/react-mentions/subscription","commits_url":"https://api.github.com/repos/rodrigues/react-mentions/commits{/sha}","git_commits_url":"https://api.github.com/repos/rodrigues/react-mentions/git/commits{/sha}","comments_url":"https://api.github.com/repos/rodrigues/react-mentions/comments{/number}","issue_comment_url":"https://api.github.com/repos/rodrigues/react-mentions/issues/comments{/number}","contents_url":"https://api.github.com/repos/rodrigues/react-mentions/contents/{+path}","compare_url":"https://api.github.com/repos/rodrigues/react-mentions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rodrigues/react-mentions/merges","archive_url":"https://api.github.com/repos/rodrigues/react-mentions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rodrigues/react-mentions/downloads","issues_url":"https://api.github.com/repos/rodrigues/react-mentions/issues{/number}","pulls_url":"https://api.github.com/repos/rodrigues/react-mentions/pulls{/number}","milestones_url":"https://api.github.com/repos/rodrigues/react-mentions/milestones{/number}","notifications_url":"https://api.github.com/repos/rodrigues/react-mentions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rodrigues/react-mentions/labels{/name}","releases_url":"https://api.github.com/repos/rodrigues/react-mentions/releases{/id}","created_at":"2015-09-14T14:11:06Z","updated_at":"2015-09-14T14:11:06Z","pushed_at":"2015-09-14T14:11:39Z","git_url":"git://github.com/rodrigues/react-mentions.git","ssh_url":"git@github.com:rodrigues/react-mentions.git","clone_url":"https://github.com/rodrigues/react-mentions.git","svn_url":"https://github.com/rodrigues/react-mentions","homepage":"http://effektif.github.io/react-mentions/","size":25898,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"effektif:master","ref":"master","sha":"0e4a60887af00a918a93886d8b00de37d0950b95","user":{"login":"effektif","id":3834300,"avatar_url":"https://avatars.githubusercontent.com/u/3834300?v=3","gravatar_id":"","url":"https://api.github.com/users/effektif","html_url":"https://github.com/effektif","followers_url":"https://api.github.com/users/effektif/followers","following_url":"https://api.github.com/users/effektif/following{/other_user}","gists_url":"https://api.github.com/users/effektif/gists{/gist_id}","starred_url":"https://api.github.com/users/effektif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/effektif/subscriptions","organizations_url":"https://api.github.com/users/effektif/orgs","repos_url":"https://api.github.com/users/effektif/repos","events_url":"https://api.github.com/users/effektif/events{/privacy}","received_events_url":"https://api.github.com/users/effektif/received_events","type":"Organization","site_admin":false},"repo":{"id":26903737,"name":"react-mentions","full_name":"effektif/react-mentions","owner":{"login":"effektif","id":3834300,"avatar_url":"https://avatars.githubusercontent.com/u/3834300?v=3","gravatar_id":"","url":"https://api.github.com/users/effektif","html_url":"https://github.com/effektif","followers_url":"https://api.github.com/users/effektif/followers","following_url":"https://api.github.com/users/effektif/following{/other_user}","gists_url":"https://api.github.com/users/effektif/gists{/gist_id}","starred_url":"https://api.github.com/users/effektif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/effektif/subscriptions","organizations_url":"https://api.github.com/users/effektif/orgs","repos_url":"https://api.github.com/users/effektif/repos","events_url":"https://api.github.com/users/effektif/events{/privacy}","received_events_url":"https://api.github.com/users/effektif/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/effektif/react-mentions","description":"@mention people in a textarea","fork":false,"url":"https://api.github.com/repos/effektif/react-mentions","forks_url":"https://api.github.com/repos/effektif/react-mentions/forks","keys_url":"https://api.github.com/repos/effektif/react-mentions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/effektif/react-mentions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/effektif/react-mentions/teams","hooks_url":"https://api.github.com/repos/effektif/react-mentions/hooks","issue_events_url":"https://api.github.com/repos/effektif/react-mentions/issues/events{/number}","events_url":"https://api.github.com/repos/effektif/react-mentions/events","assignees_url":"https://api.github.com/repos/effektif/react-mentions/assignees{/user}","branches_url":"https://api.github.com/repos/effektif/react-mentions/branches{/branch}","tags_url":"https://api.github.com/repos/effektif/react-mentions/tags","blobs_url":"https://api.github.com/repos/effektif/react-mentions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/effektif/react-mentions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/effektif/react-mentions/git/refs{/sha}","trees_url":"https://api.github.com/repos/effektif/react-mentions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/effektif/react-mentions/statuses/{sha}","languages_url":"https://api.github.com/repos/effektif/react-mentions/languages","stargazers_url":"https://api.github.com/repos/effektif/react-mentions/stargazers","contributors_url":"https://api.github.com/repos/effektif/react-mentions/contributors","subscribers_url":"https://api.github.com/repos/effektif/react-mentions/subscribers","subscription_url":"https://api.github.com/repos/effektif/react-mentions/subscription","commits_url":"https://api.github.com/repos/effektif/react-mentions/commits{/sha}","git_commits_url":"https://api.github.com/repos/effektif/react-mentions/git/commits{/sha}","comments_url":"https://api.github.com/repos/effektif/react-mentions/comments{/number}","issue_comment_url":"https://api.github.com/repos/effektif/react-mentions/issues/comments{/number}","contents_url":"https://api.github.com/repos/effektif/react-mentions/contents/{+path}","compare_url":"https://api.github.com/repos/effektif/react-mentions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/effektif/react-mentions/merges","archive_url":"https://api.github.com/repos/effektif/react-mentions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/effektif/react-mentions/downloads","issues_url":"https://api.github.com/repos/effektif/react-mentions/issues{/number}","pulls_url":"https://api.github.com/repos/effektif/react-mentions/pulls{/number}","milestones_url":"https://api.github.com/repos/effektif/react-mentions/milestones{/number}","notifications_url":"https://api.github.com/repos/effektif/react-mentions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/effektif/react-mentions/labels{/name}","releases_url":"https://api.github.com/repos/effektif/react-mentions/releases{/id}","created_at":"2014-11-20T08:51:31Z","updated_at":"2015-09-11T16:01:38Z","pushed_at":"2015-09-14T14:13:40Z","git_url":"git://github.com/effektif/react-mentions.git","ssh_url":"git@github.com:effektif/react-mentions.git","clone_url":"https://github.com/effektif/react-mentions.git","svn_url":"https://github.com/effektif/react-mentions","homepage":"http://effektif.github.io/react-mentions/","size":25898,"stargazers_count":49,"watchers_count":49,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":10,"forks":18,"open_issues":10,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/effektif/react-mentions/pulls/46"},"html":{"href":"https://github.com/effektif/react-mentions/pull/46"},"issue":{"href":"https://api.github.com/repos/effektif/react-mentions/issues/46"},"comments":{"href":"https://api.github.com/repos/effektif/react-mentions/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/effektif/react-mentions/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/effektif/react-mentions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/effektif/react-mentions/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/effektif/react-mentions/statuses/dc0772be5581cef27dc3a0f3f40bf932cbd83688"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}