diff --git a/src/index.tsx b/src/index.tsx index 9837a1e30..bdce49c91 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -479,6 +479,29 @@ const KEYS = { BACKSPACE: "Backspace" }; +const SHAPES = [ + { + label: "Rectange", + value: "rectangle" + }, + { + label: "Ellipse", + value: "ellipse" + }, + { + label: "Arrow", + value: "arrow" + }, + { + label: "Text", + value: "text" + }, + { + label: "Selection", + value: "selection" + } +]; + function isArrowKey(keyCode: string) { return ( keyCode === KEYS.ARROW_LEFT || @@ -619,11 +642,9 @@ class App extends React.Component<{}, AppState> { >