This commit is contained in:
Lucàs
2023-06-20 21:44:53 +02:00
parent a420d5523b
commit 9ad92d140a
19 changed files with 6132 additions and 4 deletions
+13
View File
@@ -0,0 +1,13 @@
---
import CircleState from '../models/CircleState';
export interface Props {
id?: string
circle: CircleState,
}
const {id, circle} = Astro.props
---
<circle id={id ?? ""} cx={circle.point.x} cy={circle.point.y} r={circle.radius ?? 2} fill={circle.fill ?? "none"} stroke={circle.stroke ?? "black"}>
<slot/>
</circle>