tldraw/state/commands/index.ts

32 lines
641 B
TypeScript
Raw Normal View History

2021-05-26 19:20:52 +00:00
import align from "./align"
import deleteSelected from "./delete-selected"
2021-05-17 21:27:18 +00:00
import direct from "./direct"
2021-05-26 19:20:52 +00:00
import distribute from "./distribute"
import generate from "./generate"
2021-05-23 17:09:23 +00:00
import move from "./move"
import draw from "./draw"
2021-05-26 19:20:52 +00:00
import rotate from "./rotate"
import stretch from "./stretch"
2021-05-26 10:34:10 +00:00
import style from "./style"
2021-05-26 19:20:52 +00:00
import transform from "./transform"
import transformSingle from "./transform-single"
import translate from "./translate"
2021-05-13 06:44:52 +00:00
2021-05-15 15:20:21 +00:00
const commands = {
2021-05-26 19:20:52 +00:00
align,
deleteSelected,
2021-05-17 21:27:18 +00:00
direct,
2021-05-26 19:20:52 +00:00
distribute,
generate,
2021-05-23 17:09:23 +00:00
move,
draw,
2021-05-26 19:20:52 +00:00
rotate,
stretch,
2021-05-26 10:34:10 +00:00
style,
2021-05-26 19:20:52 +00:00
transform,
transformSingle,
translate,
2021-05-15 15:20:21 +00:00
}
2021-05-13 06:44:52 +00:00
export default commands