{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/8759","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/8759/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/8759/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/8759/events","html_url":"https://github.com/ant-design/ant-design/issues/8759","id":284788818,"number":8759,"title":"Want to access current tag info inside onClose call","user":{"login":"yubozhao","id":670949,"avatar_url":"https://avatars1.githubusercontent.com/u/670949?v=4","gravatar_id":"","url":"https://api.github.com/users/yubozhao","html_url":"https://github.com/yubozhao","followers_url":"https://api.github.com/users/yubozhao/followers","following_url":"https://api.github.com/users/yubozhao/following{/other_user}","gists_url":"https://api.github.com/users/yubozhao/gists{/gist_id}","starred_url":"https://api.github.com/users/yubozhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yubozhao/subscriptions","organizations_url":"https://api.github.com/users/yubozhao/orgs","repos_url":"https://api.github.com/users/yubozhao/repos","events_url":"https://api.github.com/users/yubozhao/events{/privacy}","received_events_url":"https://api.github.com/users/yubozhao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-27T20:14:16Z","updated_at":"2017-12-28T01:34:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### What problem does this feature solve?\r\nhttps://github.com/ant-design/ant-design/blob/d20b4c910c09003f76fb71d00c53a8b99f78425b/components/tag/index.tsx#L48\r\n\r\nCurrently, there is no way to access current tag's info inside onClose all.  Would love to access it to do external stuff such as update local store and etc...\r\n\r\n### What does the proposed API look like?\r\n\r\n<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/354211222","html_url":"https://github.com/ant-design/ant-design/issues/8759#issuecomment-354211222","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/8759","id":354211222,"user":{"login":"yutingzhao1991","id":1061968,"avatar_url":"https://avatars0.githubusercontent.com/u/1061968?v=4","gravatar_id":"","url":"https://api.github.com/users/yutingzhao1991","html_url":"https://github.com/yutingzhao1991","followers_url":"https://api.github.com/users/yutingzhao1991/followers","following_url":"https://api.github.com/users/yutingzhao1991/following{/other_user}","gists_url":"https://api.github.com/users/yutingzhao1991/gists{/gist_id}","starred_url":"https://api.github.com/users/yutingzhao1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yutingzhao1991/subscriptions","organizations_url":"https://api.github.com/users/yutingzhao1991/orgs","repos_url":"https://api.github.com/users/yutingzhao1991/repos","events_url":"https://api.github.com/users/yutingzhao1991/events{/privacy}","received_events_url":"https://api.github.com/users/yutingzhao1991/received_events","type":"User","site_admin":false},"created_at":"2017-12-28T01:34:49Z","updated_at":"2017-12-28T01:34:49Z","author_association":"NONE","body":"```\r\nconst name = 'name';\r\n<Tag onClick={() => {\r\n  // here you can get you name\r\n  console.log(name)\r\n}}>{name}</Tag>\r\n```"}}
{"actor":{"display_login":"yutingzhao1991"}}