Virtual whiteboard for sketching hand-drawn like diagrams
refactor: rename example `App.tsx` -> `ExampleApp.tsx` (#8501)
David Luzar508f16dc044f
diff --git a/examples/excalidraw/components/App.scss b/examples/excalidraw/components/ExampleApp.scsssimilarity index 100%rename from examples/excalidraw/components/App.scssrename to examples/excalidraw/components/ExampleApp.scssdiff --git a/examples/excalidraw/components/App.tsx b/examples/excalidraw/components/ExampleApp.tsxsimilarity index 99%rename from examples/excalidraw/components/App.tsxrename to examples/excalidraw/components/ExampleApp.tsxindex 7cfd8a05ac..1e296786ef 100644--- a/examples/excalidraw/components/App.tsx+++ b/examples/excalidraw/components/ExampleApp.tsx@@ -40,7 +40,7 @@ import type {} from "@excalidraw/excalidraw/dist/excalidraw/element/types";import type { ImportedLibraryData } from "@excalidraw/excalidraw/dist/excalidraw/data/types";-import "./App.scss";+import "./ExampleApp.scss";type Comment = {x: number;@@ -73,7 +73,7 @@ export interface AppProps {excalidrawLib: typeof TExcalidraw;}-export default function App({+export default function ExampleApp({appTitle,useCustom,customArgs,diff --git a/examples/excalidraw/with-nextjs/src/excalidrawWrapper.tsx b/examples/excalidraw/with-nextjs/src/excalidrawWrapper.tsxindex 40af9f0cce..e9fa3bb230 100644--- a/examples/excalidraw/with-nextjs/src/excalidrawWrapper.tsx+++ b/examples/excalidraw/with-nextjs/src/excalidrawWrapper.tsx@@ -1,7 +1,7 @@"use client";import * as excalidrawLib from "@excalidraw/excalidraw";import { Excalidraw } from "@excalidraw/excalidraw";-import App from "../../components/App";+import App from "../../components/ExampleApp";import "@excalidraw/excalidraw/index.css";diff --git a/examples/excalidraw/with-script-in-browser/index.tsx b/examples/excalidraw/with-script-in-browser/index.tsxindex e8584d7ca7..00daaddc88 100644--- a/examples/excalidraw/with-script-in-browser/index.tsx+++ b/examples/excalidraw/with-script-in-browser/index.tsx@@ -1,4 +1,4 @@-import App from "../components/App";+import App from "../components/ExampleApp";import React, { StrictMode } from "react";import { createRoot } from "react-dom/client";