1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
denoland-deno/cli/tests/testdata/run/047_jsx_test.jsx

8 lines
184 B
React
Raw Normal View History

2019-10-02 10:46:36 -04:00
const React = {
createElement(factory, props, ...children) {
return { factory, props, children };
},
};
const View = () => <div class="deno">land</div>;
console.log(<View />);