瀏覽代碼

chore: introduce distribution types

Konstantinos Kaloutas 3 年之前
父節點
當前提交
e902780f19
共有 1 個文件被更改,包括 5 次插入0 次删除
  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',