Skip to content

Commit b424e83

Browse files
authored
Merge pull request #2 from tscircuit/add-3d
support 3d svg_type
2 parents bbafdf1 + 8adf4c9 commit b424e83

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)