refactor: separate elements logic into a standalone package (#9285)
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { VERSIONS } from "../../constants";
|
||||
import { VERSIONS } from "@excalidraw/common";
|
||||
|
||||
import {
|
||||
diamondFixture,
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
import { DEFAULT_FONT_FAMILY } from "@excalidraw/common";
|
||||
|
||||
import type { Radians } from "@excalidraw/math";
|
||||
|
||||
import { DEFAULT_FONT_FAMILY } from "../../constants";
|
||||
|
||||
import type { ExcalidrawElement } from "../../element/types";
|
||||
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
||||
|
||||
const elementBase: Omit<ExcalidrawElement, "type"> = {
|
||||
id: "vWrqOAfkind2qcm7LDAGZ",
|
||||
|
||||
Reference in New Issue
Block a user