UNPKG

@hpcc-js/react

Version:
34 lines (33 loc) 919 B
import * as React from "@hpcc-js/preact-shim"; import { Icon } from "./icon"; export interface Annotations { x: number; y: number; annotationIDs: string[]; stepSize?: number; } export declare const Annotations: React.FunctionComponent<Annotations>; export interface VertexProps { id: string | number; origData?: any; centroid?: boolean; categoryID?: string; text: string; textHeight?: number; textPadding?: number; icon?: Icon; annotationsHeight?: number; annotationIDs?: string[]; textFill?: string; textboxFill?: string; textboxStroke?: string; textFontFamily?: string; onSizeUpdate?: (size: { width: number; height: number; }) => void; showLabel?: boolean; scale?: number; } export declare const Vertex: React.FunctionComponent<VertexProps>; //# sourceMappingURL=vertex.d.ts.map