diff --git a/src/App.js b/src/App.js index 66c857e..add60c0 100644 --- a/src/App.js +++ b/src/App.js @@ -7,9 +7,8 @@ function App() { <> - - } /> - } /> + } /> + } /> diff --git a/src/components/draw_area.jsx b/src/components/draw_area.jsx index 31d5fa6..94a08e3 100644 --- a/src/components/draw_area.jsx +++ b/src/components/draw_area.jsx @@ -154,6 +154,37 @@ export default function Canvas(props) { onMouseUp={handleMouseUp} style={{ width: "100%", height: "100%", cursor: cursor }} > + + + + + + + + + + + {props.rectangles.map((rectangle) => ( { }} >
{props.label}
e.preventDefault()}>