tldraw/state/commands/index.ts

18 lines
327 B
TypeScript
Raw Normal View History

2021-05-15 13:02:13 +00:00
import translate from "./translate"
import transform from "./transform"
2021-05-17 10:01:11 +00:00
import generate from "./generate"
2021-05-15 14:10:11 +00:00
import createShape from "./create-shape"
2021-05-17 21:27:18 +00:00
import direct from "./direct"
import rotate from "./rotate"
2021-05-13 06:44:52 +00:00
2021-05-15 15:20:21 +00:00
const commands = {
translate,
transform,
2021-05-17 10:01:11 +00:00
generate,
2021-05-15 15:20:21 +00:00
createShape,
2021-05-17 21:27:18 +00:00
direct,
rotate,
2021-05-15 15:20:21 +00:00
}
2021-05-13 06:44:52 +00:00
export default commands