From 6c0ff7fc5c45719a7a659f613be169ce8bf295da Mon Sep 17 00:00:00 2001 From: Aarav Dayal <97356263+aludayalu@users.noreply.github.com> Date: Fri, 30 May 2025 01:33:20 +0530 Subject: [PATCH] docs: added the correct CSS import for nextjs dynamic first import integration example (#9584) Added the correct CSS import for nextjs dynamic first import integration example This is with reference to [this](https://github.com/excalidraw/excalidraw/issues/9562) --- dev-docs/docs/@excalidraw/excalidraw/integration.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-docs/docs/@excalidraw/excalidraw/integration.mdx b/dev-docs/docs/@excalidraw/excalidraw/integration.mdx index 117877b75..a5c3953bd 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, {