tldraw/components/canvas/shapes/circle.tsx
2021-05-09 22:22:25 +01:00

5 lines
176 B
TypeScript

import { CircleShape } from "types"
export default function Circle({ point, radius }: CircleShape) {
return <circle cx={point[0]} cy={point[1]} r={radius} fill="black" />
}