deno/cli/tests/046_jsx_test.tsx
2019-10-02 10:46:36 -04:00

9 lines
200 B
TypeScript

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