@hpcc-js/react
Version:
hpcc-js - Viz React
34 lines (33 loc) • 1.01 kB
TypeScript
import * as PReact from "./preact-shim.ts";
import { IconProps } from "./icon.tsx";
import { TextBoxProps } from "./text.tsx";
import { VertexProps } from "./vertex.tsx";
export interface Vertex3Props extends VertexProps {
id: string;
origData?: any;
categoryID?: string;
text: string;
textHeight?: number;
textPadding?: number;
textboxStrokeWidth?: number;
icon?: IconProps;
annotations?: IconProps[];
annotationsHeight?: number;
annotationGutter?: number;
textFill?: string;
textboxFill?: string;
textboxStroke?: string;
textFontFamily?: string;
cornerRadius?: number;
subText?: TextBoxProps;
onSizeUpdate?: (size: {
width: number;
height: number;
}) => void;
showLabel?: boolean;
noLabelRadius?: number;
expansionIcon?: IconProps;
scale?: number;
}
export declare const Vertex3: PReact.FunctionComponent<Vertex3Props>;
export declare const CentroidVertex3: PReact.FunctionComponent<Vertex3Props>;