mirror of
https://github.com/LucasVbr/notion-widgets.git
synced 2026-12-05 11:20:49 +00:00
Init
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user