diff --git a/src/index.js b/src/index.js index 6250f8a39..d8598f985 100644 --- a/src/index.js +++ b/src/index.js @@ -148,11 +148,13 @@ function App() { } return (
- Rectangle - Ellipse - Arrow - Text - Selection + {/* If using a component, dragging on the canvas also selects the label text which is annoying. + Not sure why that's happening */} + {ElementOption({ type: "rectangle", children: "Rectangle" })} + {ElementOption({ type: "ellipse", children: "Ellipse" })} + {ElementOption({ type: "arrow", children: "Arrow" })} + {ElementOption({ type: "text", children: "Text" })} + {ElementOption({ type: "selection", children: "Selection" })}