Преглед изворни кода

docs: Update function call in @excalidraw/mermaid-to-excalidraw (#8420)

Paul Tune пре 1 година
родитељ
комит
824ad603e1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      dev-docs/docs/@excalidraw/mermaid-to-excalidraw/api.mdx

+ 1 - 1
dev-docs/docs/@excalidraw/mermaid-to-excalidraw/api.mdx

@@ -14,7 +14,7 @@ This API receives the mermaid syntax as the input, and resolves to skeleton Exca
 import { parseMermaidToExcalidraw } from "@excalidraw/mermaid-to-excalidraw";
 import { convertToExcalidrawElements}  from "@excalidraw/excalidraw"
 try {
-  const { elements, files } = await parseMermaid(mermaidSyntax: string, {
+  const { elements, files } = await parseMermaidToExcalidraw(mermaidSyntax: string, {
     fontSize: number,
   });
   const excalidrawElements = convertToExcalidrawElements(elements);