UNPKG

gg-editor

Version:

A visual graph editor based on G6 and React

11 lines (10 loc) 496 B
import React from 'react'; import { EditorContextProps } from '../../components/EditorContext'; interface EditableLabelProps extends EditorContextProps { /** 标签图形类名 */ labelClassName?: string; /** 标签最大宽度 */ labelMaxWidth?: number; } declare const _default: React.ForwardRefExoticComponent<Pick<React.PropsWithChildren<EditableLabelProps>, "labelClassName" | "labelMaxWidth" | "children"> & React.RefAttributes<unknown>>; export default _default;