import * as React from "@hpcc-js/preact-shim"; interface Circle { radius?: number; fill?: string; stroke?: string; strokeWidth?: number; shapeRendering?: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision"; } export const Circle: React.FunctionComponent = ({ radius = 32, fill = "navy", stroke = fill, strokeWidth = 1, shapeRendering }) => ; interface Square { radius?: number; cornerRadius?: number; fill?: string; stroke?: string; strokeWidth?: number; shapeRendering?: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision"; } export const Square: React.FunctionComponent = ({ radius = 30, cornerRadius = 0, fill = "white", stroke, strokeWidth = 1, shapeRendering }) => ; interface Rectangle { width?: number; height?: number; cornerRadius?: number; fill?: string; stroke?: string; strokeWidth?: number; shapeRendering?: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision"; } export const Rectangle: React.FunctionComponent = ({ width = 30, height = 30, cornerRadius = 0, fill = "white", stroke = "black", strokeWidth = 1, shapeRendering }) => { return ; }; interface Shape { shape?: "circle" | "square" | "rectangle"; height?: number; width?: number; fill?: string; stroke?: string; strokeWidth?: number; shapeRendering?: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision"; cornerRadius?: number; } export const Shape: React.FunctionComponent = ({ shape = "circle", height = 128, width, fill, stroke, strokeWidth = 1, shapeRendering, cornerRadius }) => { switch (shape) { case "square": return ; case "rectangle": return ; case "circle": default: return ; } };