dmeditor
Version:
dmeditor is a block-style visual editor. Data is in json format.
12 lines (11 loc) • 310 B
TypeScript
export interface PathItem {
text: string;
id: string;
selected?: boolean;
dataPath: Array<number>;
}
export interface PathProps {
pathArray: Array<PathItem>;
onSelect: (item: PathItem) => void;
}
export declare const Path: (props: PathProps) => import("react/jsx-runtime").JSX.Element;