import React from "react" ; import { Filled } from "./Theme" ; import Ellipse from "./Ellipse" ; import { Vector2 } from "../math" ; export interface CircleProps extends Filled { center : Vector2 ; radius : number ; svgEllipseProps ? : React . SVGProps < SVGEllipseElement > ; } const Circle = ( { radius , ... rest } ) => { return < Ellipse radius = { [ radius , radius ] } { ... rest } />; } ; export default Circle ;