JSFiddle - React, Tailwind, and code Playground
by mayuripatil185
HTML
<canvas id="can"></canvas>
JavaScript
var ctx=document.getElementById("can").getContext("2d");
ctx.canvas.width=500;
ctx.canvas.height=500;
// rightArcArrow(100,100,10,15,1);
rightArcArrow(200,100,10,12,1);
function rightArcArrow(x, y, w, h) {
ctx.beginPath();
ctx.moveTo(x, y);
ctx.lineTo(x-3, y+w);
ctx.lineTo(x+3 , y+h+w);
//ctx.lineTo(x+h+w, y+h);
// ctx.lineTo(x+h+w+3, y+h-w);
// ctx.lineTo(x+w,y+h);
ctx.stroke();
//ctx.fill();
}