mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
feat: organized files
This commit is contained in:
1 parent
f2ae698438
commit
7dd3913ae8
51 files changed
+68
-68
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import jsxToSvg from './jsxToSvg.js';
|
||||
import svgToPng from './svgToPng.js';
|
||||
|
||||
export default async function render(jsx: JSX.Element) {
|
||||
const svg = await jsxToSvg(jsx);
|
||||
const png = svgToPng(svg);
|
||||
|
||||
return png;
|
||||
}
|
||||
Reference in new issue
Block a user