{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/4716","repository_url":"https://api.github.com/repos/callemall/material-ui","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/4716/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/4716/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/4716/events","html_url":"https://github.com/callemall/material-ui/pull/4716","id":165661765,"number":4716,"title":"[Snackbar] change the action's PropType to node","user":{"login":"daikikohara","id":9125851,"avatar_url":"https://avatars.githubusercontent.com/u/9125851?v=3","gravatar_id":"","url":"https://api.github.com/users/daikikohara","html_url":"https://github.com/daikikohara","followers_url":"https://api.github.com/users/daikikohara/followers","following_url":"https://api.github.com/users/daikikohara/following{/other_user}","gists_url":"https://api.github.com/users/daikikohara/gists{/gist_id}","starred_url":"https://api.github.com/users/daikikohara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daikikohara/subscriptions","organizations_url":"https://api.github.com/users/daikikohara/orgs","repos_url":"https://api.github.com/users/daikikohara/repos","events_url":"https://api.github.com/users/daikikohara/events{/privacy}","received_events_url":"https://api.github.com/users/daikikohara/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/callemall/material-ui/labels/PR:%20Review%20Accepted","name":"PR: Review Accepted","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T21:21:29Z","updated_at":"2016-07-15T17:56:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/callemall/material-ui/pulls/4716","html_url":"https://github.com/callemall/material-ui/pull/4716","diff_url":"https://github.com/callemall/material-ui/pull/4716.diff","patch_url":"https://github.com/callemall/material-ui/pull/4716.patch"},"body":"<!-- Thanks so much for your PR, your contribution is appreciated! -->\r\n\r\n- [x] PR has tests / docs demo, and is linted.\r\n- [x] Commit and PR titles begin with [ComponentName], and are in imperative form: \"[Component] Fix leaky abstraction\".\r\n- [ ] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).\r\n\r\nSnackbar's action should accept a node rather than a string for i18n.\r\n\r\nI'm using [react-intl](https://github.com/yahoo/react-intl) for i18n.\r\nThe component is expressed like `<FormattedMessage id=\"dismiss\" defaultMessage=\"Dismiss\"/>`\r\nI'd like to pass that to Snackbar's action without getting a warning.\r\n\r\nI think it's a common use case for apps with i18n since react-intl is the most popular library for i18n and a component in the other libraries like [i18n-react](https://github.com/alexdrel/i18n-react) is also expressed like that.\r\nSo it would be better if Snackbar's action accepts a node rather than a string.\r\n\r\nLet me know if I'm missing something.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/233022513","html_url":"https://github.com/callemall/material-ui/pull/4716#issuecomment-233022513","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/4716","id":233022513,"user":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars.githubusercontent.com/u/3165635?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T17:56:53Z","updated_at":"2016-07-15T17:56:53Z","body":"@daikikohara We are step by step replacing the `string` requirement to a `node`. I think that we are going in the right direction. Thanks!"}}
{"actor":{"display_login":"oliviertassinari"}}