{"action":"closed","issue":{"url":"https://api.github.com/repos/sinnerschrader/patternplate/issues/43","repository_url":"https://api.github.com/repos/sinnerschrader/patternplate","labels_url":"https://api.github.com/repos/sinnerschrader/patternplate/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/sinnerschrader/patternplate/issues/43/comments","events_url":"https://api.github.com/repos/sinnerschrader/patternplate/issues/43/events","html_url":"https://github.com/sinnerschrader/patternplate/issues/43","id":138821539,"number":43,"title":"Style attribute of component passed as prop breaks","user":{"login":"marionebl","id":4248851,"avatar_url":"https://avatars.githubusercontent.com/u/4248851?v=3","gravatar_id":"","url":"https://api.github.com/users/marionebl","html_url":"https://github.com/marionebl","followers_url":"https://api.github.com/users/marionebl/followers","following_url":"https://api.github.com/users/marionebl/following{/other_user}","gists_url":"https://api.github.com/users/marionebl/gists{/gist_id}","starred_url":"https://api.github.com/users/marionebl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marionebl/subscriptions","organizations_url":"https://api.github.com/users/marionebl/orgs","repos_url":"https://api.github.com/users/marionebl/repos","events_url":"https://api.github.com/users/marionebl/events{/privacy}","received_events_url":"https://api.github.com/users/marionebl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sinnerschrader/patternplate/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/sinnerschrader/patternplate/labels/critical","name":"critical","color":"e11d21"},{"url":"https://api.github.com/repos/sinnerschrader/patternplate/labels/server","name":"server","color":"eb6420"},{"url":"https://api.github.com/repos/sinnerschrader/patternplate/labels/transform","name":"transform","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"KnisterPeter","id":327445,"avatar_url":"https://avatars.githubusercontent.com/u/327445?v=3","gravatar_id":"","url":"https://api.github.com/users/KnisterPeter","html_url":"https://github.com/KnisterPeter","followers_url":"https://api.github.com/users/KnisterPeter/followers","following_url":"https://api.github.com/users/KnisterPeter/following{/other_user}","gists_url":"https://api.github.com/users/KnisterPeter/gists{/gist_id}","starred_url":"https://api.github.com/users/KnisterPeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KnisterPeter/subscriptions","organizations_url":"https://api.github.com/users/KnisterPeter/orgs","repos_url":"https://api.github.com/users/KnisterPeter/repos","events_url":"https://api.github.com/users/KnisterPeter/events{/privacy}","received_events_url":"https://api.github.com/users/KnisterPeter/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-06T18:37:45Z","updated_at":"2016-04-16T17:29:16Z","closed_at":"2016-04-16T17:29:16Z","body":"_From @Dangoo on September 3, 2015 7:57_\n\n@KnisterPeter:\r\n\r\nWhen the style attribute is populated in a component which is passed as prop to another component the JSX transform breaks\r\n \r\n````\r\n<Page className=\"investment-app\" stage={\r\n    <StageTeaser>\r\n        <Paragraph style={{ marginTop: 20 }}>\r\n            Lorem Ipsum …\r\n        </Paragraph>\r\n    </StageTeaser>\r\n}>\r\n````\r\n\r\n````\r\n[patternplate-server] SyntaxError: unknown: Unexpected token (20:1)\r\n  18 | \t\t\r\n  19 | <Page className=\"investment-app\" stage={\r\n> 20 | \treturn (\r\n     |  ^\r\n  21 | <StageTeaser image=\"/api/static/images/investment-detail/header.jpg\">\r\n  22 | \t\t<div className=\"dateline\">Deutsche Bank auf dem Handy</div>\r\n  23 | \t\t<h2 className=\"h2\">Meine Bank App</h2>\r\n    at Parser.pp.raise (/Users/dangoo/Projekte/DBA/pfb-patternplate/node_modules/patternplate/node_modules/babel-core/node_modules/babylon/lib/parser/location.js:24:13)\r\n    at Parser.pp.unexpected (/Users/dangoo/Projekte/DBA/pfb-patternplate/node_modules/patternplate/node_modules/babel-core/node_modules/babylon/lib/parser/util.js:82:8)\r\n    at Parser.pp.parseExprAtom (/Users/dangoo/Projekte/DBA/pfb-patternplate/node_modules/patternplate/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:425:12)\r\n    at Parser.parseExprAtom (/Users/dangoo/Projekte/DBA/pfb-patternplate/node_modules/patternplate/node_modules/babel-core/node_modules/babylon/lib/plugins/jsx/index.js:412:22)\r\n    at Parser.pp.parseExprSubscripts (/Users/dangoo/Projekte/DBA/pfb-patternplate/node_modules/patternplate/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:236:19)\r\n````\n\n_Copied from original issue: sinnerschrader/patternplate-server#10_"}}