feat: round bottom left right corners of canvas

This commit is contained in:
karishmas6
2024-10-23 08:01:21 +05:30
parent 23d03ad393
commit 1640ea7d72

View File

@@ -138,12 +138,15 @@ const Canvas = ({ width, height, onCreateRef }: CanvasProps) => {
}, [onMouseEvent]);
return (
<div style={{ borderRadius: '0px 0px 5px 5px', overflow: 'hidden', backgroundColor: 'white'}}>
<canvas
tabIndex={0}
ref={canvasRef}
height={400}
width={900}
/>
style={{display: 'block' }}
/>
</div>
);
};