Browse Source

chore: introduce distribution types

Konstantinos Kaloutas 3 năm trước cách đây
mục cha
commit
e902780f19
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      tldraw/packages/core/src/types/types.ts

+ 5 - 0
tldraw/packages/core/src/types/types.ts

@@ -12,6 +12,11 @@ export enum AlignType {
   Right = 'right',
 }
 
+export enum DistributeType {
+  Horizontal = 'horizontal',
+  Vertical = 'vertical',
+}
+
 export enum TLResizeEdge {
   Top = 'top_edge',
   Right = 'right_edge',