Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

docs: added the correct CSS import for nextjs dynamic first import integration example (#9584)

Aarav Dayal6c0ff7fc5c45
diff --git a/dev-docs/docs/@excalidraw/excalidraw/integration.mdx b/dev-docs/docs/@excalidraw/excalidraw/integration.mdx
index 117877b750..a5c3953bd6 100644
--- a/dev-docs/docs/@excalidraw/excalidraw/integration.mdx
+++ b/dev-docs/docs/@excalidraw/excalidraw/integration.mdx
@@ -38,6 +38,8 @@ If you want to only import `Excalidraw` component you can do :point_down:
```jsx showLineNumbers
import dynamic from "next/dynamic";
+import "@excalidraw/excalidraw/index.css";
+
const Excalidraw = dynamic(
async () => (await import("@excalidraw/excalidraw")).Excalidraw,
{