{"action":"closed","issue":{"url":"https://api.github.com/repos/meeDamian/country-emoji/issues/5","repository_url":"https://api.github.com/repos/meeDamian/country-emoji","labels_url":"https://api.github.com/repos/meeDamian/country-emoji/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/meeDamian/country-emoji/issues/5/comments","events_url":"https://api.github.com/repos/meeDamian/country-emoji/issues/5/events","html_url":"https://github.com/meeDamian/country-emoji/issues/5","id":328454914,"node_id":"MDU6SXNzdWUzMjg0NTQ5MTQ=","number":5,"title":"Get the list of all countries","user":{"login":"lucleray","id":6616955,"node_id":"MDQ6VXNlcjY2MTY5NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/6616955?v=4","gravatar_id":"","url":"https://api.github.com/users/lucleray","html_url":"https://github.com/lucleray","followers_url":"https://api.github.com/users/lucleray/followers","following_url":"https://api.github.com/users/lucleray/following{/other_user}","gists_url":"https://api.github.com/users/lucleray/gists{/gist_id}","starred_url":"https://api.github.com/users/lucleray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucleray/subscriptions","organizations_url":"https://api.github.com/users/lucleray/orgs","repos_url":"https://api.github.com/users/lucleray/repos","events_url":"https://api.github.com/users/lucleray/events{/privacy}","received_events_url":"https://api.github.com/users/lucleray/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-01T09:54:57Z","updated_at":"2018-10-27T08:37:37Z","closed_at":"2018-10-27T08:37:37Z","author_association":"NONE","body":"In some case, it's useful to get the full list of countries.\r\n\r\nFor example, to display all countries in a select input.\r\n\r\nSomething like this (with JSX) :\r\n```js\r\nimport { countries } from 'country-emoji'\r\n\r\nconst SelectCountries = () => (\r\n  <select>\r\n    {countries.map(country => (\r\n      <option value={country.code}>{country.flag}</option>\r\n    ))}\r\n  </select>\r\n)\r\n```"}}
{"actor":{"display_login":"meeDamian"}}