import * as React from 'react'; export interface ILegnedOption { /** 属性 */ properties: Record; /** 类型 */ label: string; /** 数量统计 */ count?: number; /** 颜色 */ color: string; /** 大小 */ size: number; /** 文本映射字段 */ caption: string[]; /** 标识是节点还是边 */ type: 'node' | 'edge'; icon: string; } export type ILengendContentProps = ILegnedOption & { type: 'node' | 'edge'; onChange: (val: ILegnedOption) => void; }; declare const LengendContent: React.FunctionComponent; export default LengendContent;