{"action":"created","issue":{"url":"https://api.github.com/repos/bokuweb/react-rnd/issues/419","repository_url":"https://api.github.com/repos/bokuweb/react-rnd","labels_url":"https://api.github.com/repos/bokuweb/react-rnd/issues/419/labels{/name}","comments_url":"https://api.github.com/repos/bokuweb/react-rnd/issues/419/comments","events_url":"https://api.github.com/repos/bokuweb/react-rnd/issues/419/events","html_url":"https://github.com/bokuweb/react-rnd/issues/419","id":349674612,"node_id":"MDU6SXNzdWUzNDk2NzQ2MTI=","number":419,"title":"\"export 'default' (imported as 'Rnd') was not found in 'react-rnd'","user":{"login":"matiasbenedetto","id":1310626,"node_id":"MDQ6VXNlcjEzMTA2MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1310626?v=4","gravatar_id":"","url":"https://api.github.com/users/matiasbenedetto","html_url":"https://github.com/matiasbenedetto","followers_url":"https://api.github.com/users/matiasbenedetto/followers","following_url":"https://api.github.com/users/matiasbenedetto/following{/other_user}","gists_url":"https://api.github.com/users/matiasbenedetto/gists{/gist_id}","starred_url":"https://api.github.com/users/matiasbenedetto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiasbenedetto/subscriptions","organizations_url":"https://api.github.com/users/matiasbenedetto/orgs","repos_url":"https://api.github.com/users/matiasbenedetto/repos","events_url":"https://api.github.com/users/matiasbenedetto/events{/privacy}","received_events_url":"https://api.github.com/users/matiasbenedetto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-10T22:26:09Z","updated_at":"2018-08-24T21:39:54Z","closed_at":null,"author_association":"NONE","body":"The console is getting me this:\r\n`\"export 'default' (imported as 'Rnd') was not found in 'react-rnd'`\r\n\r\nAnd when a i want to render the app with a <Rnd/> i get this error:\r\n\r\n`Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.\r\n`"},"comment":{"url":"https://api.github.com/repos/bokuweb/react-rnd/issues/comments/415889589","html_url":"https://github.com/bokuweb/react-rnd/issues/419#issuecomment-415889589","issue_url":"https://api.github.com/repos/bokuweb/react-rnd/issues/419","id":415889589,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTg4OTU4OQ==","user":{"login":"justswim","id":1372528,"node_id":"MDQ6VXNlcjEzNzI1Mjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1372528?v=4","gravatar_id":"","url":"https://api.github.com/users/justswim","html_url":"https://github.com/justswim","followers_url":"https://api.github.com/users/justswim/followers","following_url":"https://api.github.com/users/justswim/following{/other_user}","gists_url":"https://api.github.com/users/justswim/gists{/gist_id}","starred_url":"https://api.github.com/users/justswim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justswim/subscriptions","organizations_url":"https://api.github.com/users/justswim/orgs","repos_url":"https://api.github.com/users/justswim/repos","events_url":"https://api.github.com/users/justswim/events{/privacy}","received_events_url":"https://api.github.com/users/justswim/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T21:39:54Z","updated_at":"2018-08-24T21:39:54Z","author_association":"NONE","body":"You should import it like this:\r\n`import { Rnd } from 'react-rnd';`"}}
{"actor":{"display_login":"justswim"}}