mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: render threading
This commit is contained in:
1 parent
9495ae2336
commit
6fdd4ba833
7 files changed
+73
-5
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import jsxToSvg from './jsxToSvg';
|
||||
import { svgToPngThreaded } from './svgToPngThreaded';
|
||||
|
||||
export default async function jsxToPngThreaded(jsx: JSX.Element) {
|
||||
const svg = await jsxToSvg(jsx);
|
||||
const png = await svgToPngThreaded(svg);
|
||||
|
||||
return png;
|
||||
}
|
||||
Reference in new issue
Block a user