UNPKG

@kgdata/visualgraph

Version:
15 lines (14 loc) 425 B
import type { CSSProperties } from 'react'; import React from 'react'; interface KgLegendItemProps { color: string; label: string; ooId: string; handleClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void; } interface KgLegendProps { list: KgLegendItemProps[]; style?: CSSProperties; } declare const _default: (props?: KgLegendProps) => JSX.Element; export default _default;