23 lines
518 B
TypeScript
23 lines
518 B
TypeScript
"use client";
|
|
import * as excalidrawLib from "@excalidraw/excalidraw";
|
|
import { Excalidraw } from "@excalidraw/excalidraw";
|
|
import App from "../../components/App";
|
|
|
|
import "@excalidraw/excalidraw/index.css";
|
|
|
|
const ExcalidrawWrapper: React.FC = () => {
|
|
return (
|
|
<>
|
|
<App
|
|
appTitle={"Excalidraw with Nextjs Example"}
|
|
useCustom={(api: any, args?: any[]) => {}}
|
|
excalidrawLib={excalidrawLib}
|
|
>
|
|
<Excalidraw />
|
|
</App>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default ExcalidrawWrapper;
|