{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/3774","repository_url":"https://api.github.com/repos/callemall/material-ui","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/3774/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/3774/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/3774/events","html_url":"https://github.com/callemall/material-ui/issues/3774","id":143011989,"number":3774,"title":"GridTile `rootClass` props type validation","user":{"login":"bakurin","id":3139385,"avatar_url":"https://avatars.githubusercontent.com/u/3139385?v=3","gravatar_id":"","url":"https://api.github.com/users/bakurin","html_url":"https://github.com/bakurin","followers_url":"https://api.github.com/users/bakurin/followers","following_url":"https://api.github.com/users/bakurin/following{/other_user}","gists_url":"https://api.github.com/users/bakurin/gists{/gist_id}","starred_url":"https://api.github.com/users/bakurin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakurin/subscriptions","organizations_url":"https://api.github.com/users/bakurin/orgs","repos_url":"https://api.github.com/users/bakurin/repos","events_url":"https://api.github.com/users/bakurin/events{/privacy}","received_events_url":"https://api.github.com/users/bakurin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-23T16:34:53Z","updated_at":"2016-03-23T18:21:24Z","closed_at":null,"body":"<!-- \r\n\r\nSorry to hear you're having trouble! If you have a question, please ask in \r\n[StackOverflow or gitter](http://tr.im/77pVj)\r\n\r\nIf you are having an issue with click events, please re-read the \r\n[README](http://tr.im/410Fg) (you did read the README, right?).\r\n\r\nQuestions, or issues that don't provide sufficient information, may be closed without comment. \r\n(We're sure you'd rather we work on improving Material-UI than chasing ghost issues!)\r\n\r\nIf you think you have found a _new_ issue that hasn't already been reported, please complete the template below.\r\n\r\n-->\r\n\r\nProblem Description\r\n-------------------\r\n\r\nIt seems there is an invalid propsType definition of GridTile component. When I try to pass React class instead of string (tag name):\r\n```javascript\r\n<GridTile rootClass={Link}>...\r\n```\r\nI get an error like:\r\n`Invalid prop rootClass supplied to `GridTile``\r\nthe reason is:\r\n```javascript\r\nrootClass: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.object])\r\n```\r\nProbably it have to be replaced with:\r\n```javascript\r\nrootClass: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.func])\r\n```\r\n<!-- Please include steps to reproduce the problem, code sample, screenshots as appropriate. -->\r\n\r\nVersions\r\n--------\r\n<!-- Versions affected. (Please test with Material-UI HEAD.) -->\r\n\r\n- Material-UI: 0.14.4\r\n- React: 0.14.7\r\n- Browser: Google Chrome\r\n\r\n<!--\r\n\r\nFor feature requests, please delete the template above, \r\nand include a link to the relevant section of Material Design spec, \r\nor a screenshot showing your proposed feature, \r\nand enough information to understand your suggestion.\r\n\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/200477764","html_url":"https://github.com/callemall/material-ui/issues/3774#issuecomment-200477764","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/3774","id":200477764,"user":{"login":"bakurin","id":3139385,"avatar_url":"https://avatars.githubusercontent.com/u/3139385?v=3","gravatar_id":"","url":"https://api.github.com/users/bakurin","html_url":"https://github.com/bakurin","followers_url":"https://api.github.com/users/bakurin/followers","following_url":"https://api.github.com/users/bakurin/following{/other_user}","gists_url":"https://api.github.com/users/bakurin/gists{/gist_id}","starred_url":"https://api.github.com/users/bakurin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakurin/subscriptions","organizations_url":"https://api.github.com/users/bakurin/orgs","repos_url":"https://api.github.com/users/bakurin/repos","events_url":"https://api.github.com/users/bakurin/events{/privacy}","received_events_url":"https://api.github.com/users/bakurin/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T18:21:24Z","updated_at":"2016-03-23T18:21:24Z","body":"As mentioned above {Link} is a ReactClass (created via React.createClass).\r\n"}}