{"action":"opened","issue":{"url":"https://api.github.com/repos/stampit-org/react-stampit/issues/37","labels_url":"https://api.github.com/repos/stampit-org/react-stampit/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/stampit-org/react-stampit/issues/37/comments","events_url":"https://api.github.com/repos/stampit-org/react-stampit/issues/37/events","html_url":"https://github.com/stampit-org/react-stampit/issues/37","id":105331507,"number":37,"title":"react-stampit with material-ui","user":{"login":"gavriguy","id":119617,"avatar_url":"https://avatars.githubusercontent.com/u/119617?v=3","gravatar_id":"","url":"https://api.github.com/users/gavriguy","html_url":"https://github.com/gavriguy","followers_url":"https://api.github.com/users/gavriguy/followers","following_url":"https://api.github.com/users/gavriguy/following{/other_user}","gists_url":"https://api.github.com/users/gavriguy/gists{/gist_id}","starred_url":"https://api.github.com/users/gavriguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavriguy/subscriptions","organizations_url":"https://api.github.com/users/gavriguy/orgs","repos_url":"https://api.github.com/users/gavriguy/repos","events_url":"https://api.github.com/users/gavriguy/events{/privacy}","received_events_url":"https://api.github.com/users/gavriguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-08T08:48:59Z","updated_at":"2015-09-08T08:48:59Z","closed_at":null,"body":"I'm trying to implement react-stampit with material-ui\r\nTo set material-ui I need to set `getChildContext()` and `childContextTypes`.\r\n\r\nfor some reason when trying to so I get an error:\r\n> uncaught Error: Invariant Violation: ReactStamp.getChildContext(): childContextTypes must be defined in order to use getChildContext().\r\n\r\nhere is the code i'm running\r\n```\r\nimport stampit from 'react-stampit';\r\nimport { Styles, RaisedButton } from 'material-ui';\r\n\r\nconst ThemeManager = new Styles.ThemeManager();\r\n\r\n\r\nexport default React => stampit(React, {\r\n  childContextTypes: {\r\n    muiTheme: React.PropTypes.object,\r\n  },\r\n  getChildContext() {\r\n    return {\r\n      muiTheme: ThemeManager.getCurrentTheme()\r\n    };\r\n  },\r\n  render() {\r\n    return <div>\r\n        <h1>Hello World</h1>\r\n        <RaisedButton label=\"Click Me\" />\r\n      </div>\r\n  }\r\n});\r\n```\r\n\r\nAny idea what i'm doing wrong?\r\n\r\nThanks"}}