()
| 29 | const cornerRadii = [2, 13, 24]; |
| 30 | |
| 31 | const createCheckboard = () => ({ |
| 32 | backgroundImage: |
| 33 | "linear-gradient(45deg, #d6d3d1 25%, transparent 25%, transparent 75%, #d6d3d1 75%, #d6d3d1), linear-gradient(45deg, #d6d3d1 25%, transparent 25%, transparent 75%, #d6d3d1 75%, #d6d3d1)", |
| 34 | backgroundSize: "10px 10px", |
| 35 | backgroundPosition: "0 0, 5px 5px", |
| 36 | backgroundColor: "#fff", |
| 37 | }); |
| 38 | |
| 39 | function isPropertyTool(tool: string): tool is ToolKey { |
| 40 | return ["pen", "eraser", "rectangle", "ellipse", "line", "arrow"].includes( |
no outgoing calls
no test coverage detected