Explorar o código

chore: introduce distribution types

Konstantinos Kaloutas %!s(int64=3) %!d(string=hai) anos
pai
achega
e902780f19
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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',