瀏覽代碼

docs: type mistake in integration of excalidraw (#7723)

Aashman Verma 1 年之前
父節點
當前提交
dd8529743a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dev-docs/docs/@excalidraw/excalidraw/integration.mdx

+ 1 - 1
dev-docs/docs/@excalidraw/excalidraw/integration.mdx

@@ -58,7 +58,7 @@ If you are using `pages router` then importing the wrapper dynamically would wor
 
 
   ```jsx showLineNumbers
   ```jsx showLineNumbers
   "use client";
   "use client";
-  import { Excalidraw. convertToExcalidrawElements } from "@excalidraw/excalidraw";
+  import { Excalidraw, convertToExcalidrawElements } from "@excalidraw/excalidraw";
 
 
   import "@excalidraw/excalidraw/index.css";
   import "@excalidraw/excalidraw/index.css";