We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bbafdf1 + 8adf4c9 commit b424e83Copy full SHA for b424e83
lib/index.ts
@@ -27,7 +27,7 @@ export function getUncompressedSnippetString(
27
28
export function createSvgUrl(
29
tscircuitCode: string,
30
- svgType: "pcb" | "schematic",
+ svgType: "pcb" | "schematic" | "3d",
31
) {
32
const base64Data = getCompressedBase64SnippetString(tscircuitCode)
33
return `https://svg.tscircuit.com/?svg_type=${svgType}&code=${encodeURIComponent(base64Data)}`
0 commit comments