{"action":"created","issue":{"url":"https://api.github.com/repos/gorangajic/react-icons/issues/75","repository_url":"https://api.github.com/repos/gorangajic/react-icons","labels_url":"https://api.github.com/repos/gorangajic/react-icons/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/gorangajic/react-icons/issues/75/comments","events_url":"https://api.github.com/repos/gorangajic/react-icons/issues/75/events","html_url":"https://github.com/gorangajic/react-icons/issues/75","id":198015716,"number":75,"title":"Merge #63 breaks enzyme's find()","user":{"login":"carlodicelico","id":1778532,"avatar_url":"https://avatars.githubusercontent.com/u/1778532?v=3","gravatar_id":"","url":"https://api.github.com/users/carlodicelico","html_url":"https://github.com/carlodicelico","followers_url":"https://api.github.com/users/carlodicelico/followers","following_url":"https://api.github.com/users/carlodicelico/following{/other_user}","gists_url":"https://api.github.com/users/carlodicelico/gists{/gist_id}","starred_url":"https://api.github.com/users/carlodicelico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlodicelico/subscriptions","organizations_url":"https://api.github.com/users/carlodicelico/orgs","repos_url":"https://api.github.com/users/carlodicelico/repos","events_url":"https://api.github.com/users/carlodicelico/events{/privacy}","received_events_url":"https://api.github.com/users/carlodicelico/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-29T14:29:41Z","updated_at":"2016-12-29T17:20:32Z","closed_at":"2016-12-29T17:20:32Z","body":"#63 breaks [enzyme's ShallowWrapper API's find()](http://airbnb.io/enzyme/docs/api/ShallowWrapper/find.html), which is looking for a function name. Enzyme uses the function's name attribute to facilitate easier lookup of components rendered in a tree. \r\n\r\nProposing this, so that the export is a named function.\r\n\r\n```javascript\r\nvar component = `\r\nimport React from 'react'\r\nimport Icon from 'react-icon-base'\r\n\r\nconst ${name} = props => (\r\n    <Icon viewBox=\"${viewBox}\" {...props}>\r\n        <g>${iconSvg}</g>\r\n    </Icon>\r\n)\r\n\r\nexport default ${name}`\r\n```"},"comment":{"url":"https://api.github.com/repos/gorangajic/react-icons/issues/comments/269662547","html_url":"https://github.com/gorangajic/react-icons/issues/75#issuecomment-269662547","issue_url":"https://api.github.com/repos/gorangajic/react-icons/issues/75","id":269662547,"user":{"login":"bentatum","id":4211826,"avatar_url":"https://avatars.githubusercontent.com/u/4211826?v=3","gravatar_id":"","url":"https://api.github.com/users/bentatum","html_url":"https://github.com/bentatum","followers_url":"https://api.github.com/users/bentatum/followers","following_url":"https://api.github.com/users/bentatum/following{/other_user}","gists_url":"https://api.github.com/users/bentatum/gists{/gist_id}","starred_url":"https://api.github.com/users/bentatum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentatum/subscriptions","organizations_url":"https://api.github.com/users/bentatum/orgs","repos_url":"https://api.github.com/users/bentatum/repos","events_url":"https://api.github.com/users/bentatum/events{/privacy}","received_events_url":"https://api.github.com/users/bentatum/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T17:20:32Z","updated_at":"2016-12-29T17:20:32Z","body":"2.2.3 resolve this. thanks again!"}}
{"actor":{"display_login":"bentatum"}}