Skip to content

Commit 8adf4c9

Browse files
committed
support 3d svg_type
1 parent bbafdf1 commit 8adf4c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function getUncompressedSnippetString(
2727

2828
export function createSvgUrl(
2929
tscircuitCode: string,
30-
svgType: "pcb" | "schematic",
30+
svgType: "pcb" | "schematic" | "3d",
3131
) {
3232
const base64Data = getCompressedBase64SnippetString(tscircuitCode)
3333
return `https://svg.tscircuit.com/?svg_type=${svgType}&code=${encodeURIComponent(base64Data)}`

0 commit comments

Comments
 (0)