diff options
Diffstat (limited to 'tests/registry/jsr/@denotest/jsx-with-pragmas/1.0.0/foo.jsx')
-rw-r--r-- | tests/registry/jsr/@denotest/jsx-with-pragmas/1.0.0/foo.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/registry/jsr/@denotest/jsx-with-pragmas/1.0.0/foo.jsx b/tests/registry/jsr/@denotest/jsx-with-pragmas/1.0.0/foo.jsx new file mode 100644 index 000000000..463fdb015 --- /dev/null +++ b/tests/registry/jsr/@denotest/jsx-with-pragmas/1.0.0/foo.jsx @@ -0,0 +1,7 @@ +/** @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.jsx</div>); +} |