ze-react-component-library
Version:
ZeroETP React Component Library
19 lines (18 loc) • 617 B
TypeScript
import { ReactNode, FC } from "react";
import { PropertyType, SchemaType } from "zeroetp-api-sdk";
export declare type EntityProps = {
open?: boolean;
property: PropertyType;
entityIDProperty: PropertyType;
entityNameProperty: PropertyType;
entity: any;
entityTooltipCardProps?: {
width?: number;
height?: number;
extra?: (entity: any, schema: SchemaType) => ReactNode;
customComponent?: (entity: any, schema: SchemaType, defaultDom?: ReactNode) => ReactNode;
};
showRefDetail?: boolean;
};
declare const Entity: FC<EntityProps>;
export default Entity;