From 824ad603e1525ad9eddc1ce47088c3ca544fe8c0 Mon Sep 17 00:00:00 2001 From: Paul Tune Date: Mon, 26 Aug 2024 21:20:29 +1000 Subject: [PATCH] docs: Update function call in @excalidraw/mermaid-to-excalidraw (#8420) --- dev-docs/docs/@excalidraw/mermaid-to-excalidraw/api.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-docs/docs/@excalidraw/mermaid-to-excalidraw/api.mdx b/dev-docs/docs/@excalidraw/mermaid-to-excalidraw/api.mdx index a88bda5ef..f3212b43e 100644 --- a/dev-docs/docs/@excalidraw/mermaid-to-excalidraw/api.mdx +++ b/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);