Skip to content

Instantly share code, notes, and snippets.

@algesten
Created February 22, 2017 07:59
Show Gist options
  • Save algesten/1851f9d4189114c1522254723c0eb44d to your computer and use it in GitHub Desktop.
Save algesten/1851f9d4189114c1522254723c0eb44d to your computer and use it in GitHub Desktop.
const MyThing = () => {
return _react2.default.createElement('div',
_react2.default.createElement(Title),
_react2.default.createElement(Counter, {panda:42}),
_react2.default.createElement(ButtonCounterInc),
_react2.default.createElement(ButtonTitle)
);
};
const MyThing = () => {
return <div>
<Title />
<Counter panda="42"/>
<ButtonCounterInc />
<ButtonTitle />
</div>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment