Browse Source

refactor: rename example `App.tsx` -> `ExampleApp.tsx` (#8501)

dwelle/dark-mode-rewrite
David Luzar 1 year ago committed by GitHub
parent
commit
508f16dc04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 0
      examples/excalidraw/components/ExampleApp.scss
  2. 4
      examples/excalidraw/components/ExampleApp.tsx
  3. 2
      examples/excalidraw/with-nextjs/src/excalidrawWrapper.tsx
  4. 2
      examples/excalidraw/with-script-in-browser/index.tsx

0
examples/excalidraw/components/App.scss → examples/excalidraw/components/ExampleApp.scss

4
examples/excalidraw/components/App.tsx → examples/excalidraw/components/ExampleApp.tsx

@ -40,7 +40,7 @@ import type { @@ -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 { @@ -73,7 +73,7 @@ export interface AppProps {
excalidrawLib: typeof TExcalidraw;
}
export default function App({
export default function ExampleApp({
appTitle,
useCustom,
customArgs,

2
examples/excalidraw/with-nextjs/src/excalidrawWrapper.tsx vendored

@ -1,7 +1,7 @@ @@ -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";

2
examples/excalidraw/with-script-in-browser/index.tsx

@ -1,4 +1,4 @@ @@ -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";

Loading…
Cancel
Save