fix: don't bundle react-dom when importing from transformHandles (#7634)

* fix: don't bundle react when importing from transfromHandles

* rename to DEFAULT_TRANSFORM_HANDLE_SPACING
This commit is contained in:
Aakansha Doshi
2024-01-31 16:50:35 +05:30
committed by GitHub
parent e0fefa8025
commit 63b50b3586
3 changed files with 14 additions and 9 deletions

View File

@@ -142,6 +142,7 @@ export const DEFAULT_FONT_FAMILY: FontFamilyValues = FONT_FAMILY.Virgil;
export const DEFAULT_TEXT_ALIGN = "left";
export const DEFAULT_VERTICAL_ALIGN = "top";
export const DEFAULT_VERSION = "{version}";
export const DEFAULT_TRANSFORM_HANDLE_SPACING = 2;
export const CANVAS_ONLY_ACTIONS = ["selectAll"];