deno/cli/tests/047_jsx_test.jsx
2019-10-02 10:46:36 -04:00

9 lines
183 B
JavaScript

const React = {
createElement(factory, props, ...children) {
return {factory, props, children}
}
}
const View = () => (
<div class="deno">land</div>
)
console.log(<View />)