@hpcc-js/react
Version:
hpcc-js - Viz React
27 lines (26 loc) • 757 B
TypeScript
import * as PReact from "./preact-shim.ts";
export interface IconProps {
shape?: "circle" | "square" | "rectangle";
width?: number;
height?: number;
padding?: number;
fill?: string;
stroke?: string;
strokeWidth?: number;
imageUrl?: string;
imageFontFamily?: string;
imageChar?: string;
imageCharFill?: string;
xOffset?: number;
yOffset?: number;
cornerRadius?: number;
shapeRendering?: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision";
}
export declare const Icon: PReact.FunctionComponent<IconProps>;
export interface IconEx extends IconProps {
id: string;
}
export interface IconsProps {
icons: IconEx[];
}
export declare const Icons: PReact.FunctionComponent<IconsProps>;