mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 14:24:48 -05:00
8 lines
232 B
TypeScript
8 lines
232 B
TypeScript
|
/** @jsxRuntime automatic *//** @jsxImportSource npm:preact */
|
||
|
// deno-fmt-ignore-file
|
||
|
import { renderToString } from "npm:preact-render-to-string";
|
||
|
|
||
|
export default function render() {
|
||
|
return renderToString(<div>foo.tsx</div>);
|
||
|
}
|