@hpcc-js/react
Version:
hpcc-js - Viz React
42 lines (41 loc) • 1.33 kB
TypeScript
import * as React from "@hpcc-js/preact-shim";
interface Circle {
radius?: number;
fill?: string;
stroke?: string;
strokeWidth?: number;
shapeRendering?: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision";
}
export declare const Circle: React.FunctionComponent<Circle>;
interface Square {
radius?: number;
cornerRadius?: number;
fill?: string;
stroke?: string;
strokeWidth?: number;
shapeRendering?: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision";
}
export declare const Square: React.FunctionComponent<Square>;
interface Rectangle {
width?: number;
height?: number;
cornerRadius?: number;
fill?: string;
stroke?: string;
strokeWidth?: number;
shapeRendering?: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision";
}
export declare const Rectangle: React.FunctionComponent<Rectangle>;
interface Shape {
shape?: "circle" | "square" | "rectangle";
height?: number;
width?: number;
fill?: string;
stroke?: string;
strokeWidth?: number;
shapeRendering?: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision";
cornerRadius?: number;
}
export declare const Shape: React.FunctionComponent<Shape>;
export {};
//# sourceMappingURL=shape.d.ts.map