File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ const socket = io("http://localhost:8000");
7
7
import Sidebar from "./components/Sidebar" ;
8
8
import Canvas from "./components/Canvas" ;
9
9
import Menu from "./components/Menu" ;
10
+ import EraserCursor from "./components/EraserCursor" ;
10
11
11
12
function App ( ) {
12
13
@@ -135,6 +136,7 @@ function App() {
135
136
> </ Sidebar >
136
137
< Canvas canvasRef = { canvasRef } > </ Canvas >
137
138
{ showMenu && < Menu > </ Menu > }
139
+ < EraserCursor > </ EraserCursor >
138
140
</ div >
139
141
) ;
140
142
}
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ import eraserSvg from "../assets/eraserSvg.svg"
2
+
3
+ function EraserCursor ( ) {
4
+ return (
5
+ < div className = "h-7 w-7 left-36 transform rotate-90 absolute" >
6
+ < img src = { eraserSvg } > </ img >
7
+ </ div >
8
+ )
9
+ }
10
+
11
+ export default EraserCursor ;
You can’t perform that action at this time.
0 commit comments