tldraw/state/commands/index.ts

38 lines
767 B
TypeScript
Raw Normal View History

2021-05-28 20:30:27 +00:00
import align from './align'
import deleteSelected from './delete-selected'
import direct from './direct'
import distribute from './distribute'
import duplicate from './duplicate'
import generate from './generate'
import move from './move'
import draw from './draw'
import rotate from './rotate'
import stretch from './stretch'
import style from './style'
import transform from './transform'
import transformSingle from './transform-single'
import translate from './translate'
import nudge from './nudge'
import toggle from './toggle'
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,
2021-05-28 20:30:27 +00:00
duplicate,
2021-05-26 19:20:52 +00:00
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-28 20:30:27 +00:00
nudge,
toggle,
2021-05-15 15:20:21 +00:00
}
2021-05-13 06:44:52 +00:00
export default commands