UNPKG

@hpcc-js/react

Version:
28 lines (27 loc) 795 B
import * as React from "@hpcc-js/preact-shim"; export interface Icon { 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: React.FunctionComponent<Icon>; export interface IconEx extends Icon { id: string; } export interface Icons { icons: IconEx[]; } export declare const Icons: React.FunctionComponent<Icons>; //# sourceMappingURL=icon.d.ts.map