mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Move all remaining files in src
This commit is contained in:
parent
e75a7b45d6
commit
c48d847f62
524 changed files with 538 additions and 547 deletions
|
@ -1,7 +1,7 @@
|
|||
import React from "react";
|
||||
|
||||
import type * as TExcalidraw from "@excalidraw/excalidraw";
|
||||
import type { ExcalidrawImperativeAPI } from "@excalidraw/excalidraw/types";
|
||||
import type * as TExcalidraw from "@excalidraw/excalidraw/src";
|
||||
import type { ExcalidrawImperativeAPI } from "@excalidraw/excalidraw/src/types";
|
||||
|
||||
const COMMENT_SVG = (
|
||||
<svg
|
||||
|
|
|
@ -8,7 +8,7 @@ import React, {
|
|||
cloneElement,
|
||||
} from "react";
|
||||
|
||||
import type * as TExcalidraw from "@excalidraw/excalidraw";
|
||||
import type * as TExcalidraw from "@excalidraw/excalidraw/src";
|
||||
import type { ImportedLibraryData } from "@excalidraw/excalidraw/data/types";
|
||||
import type {
|
||||
NonDeletedExcalidrawElement,
|
||||
|
@ -22,7 +22,7 @@ import type {
|
|||
Gesture,
|
||||
LibraryItems,
|
||||
PointerDownState as ExcalidrawPointerDownState,
|
||||
} from "@excalidraw/excalidraw/types";
|
||||
} from "@excalidraw/excalidraw/src/types";
|
||||
|
||||
import initialData from "../initialData";
|
||||
import {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React from "react";
|
||||
|
||||
import type * as TExcalidraw from "@excalidraw/excalidraw";
|
||||
import type { ExcalidrawImperativeAPI } from "@excalidraw/excalidraw/types";
|
||||
import type * as TExcalidraw from "@excalidraw/excalidraw/src";
|
||||
import type { ExcalidrawImperativeAPI } from "@excalidraw/excalidraw/src/types";
|
||||
|
||||
import CustomFooter from "./CustomFooter";
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<div id="root"></div>
|
||||
|
||||
<script type="module">
|
||||
import * as ExcalidrawLib from "@excalidraw/excalidraw";
|
||||
import * as ExcalidrawLib from "@excalidraw/excalidraw/src";
|
||||
|
||||
console.log(ExcalidrawLib);
|
||||
window.ExcalidrawLib = ExcalidrawLib;
|
||||
|
|
|
@ -3,7 +3,7 @@ import { createRoot } from "react-dom/client";
|
|||
|
||||
import "@excalidraw/excalidraw/index.css";
|
||||
|
||||
import type * as TExcalidraw from "@excalidraw/excalidraw";
|
||||
import type * as TExcalidraw from "@excalidraw/excalidraw/src";
|
||||
|
||||
import App from "./components/ExampleApp";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { MIME_TYPES } from "@excalidraw/excalidraw";
|
||||
import { MIME_TYPES } from "@excalidraw/excalidraw/src";
|
||||
import { fileOpen as _fileOpen } from "browser-fs-access";
|
||||
import { unstable_batchedUpdates } from "react-dom";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue