chatui2
Version:
The React library for Chatbot UI
11 lines (10 loc) • 350 B
TypeScript
import React from 'react';
export type TreeNodeProps = {
title: string;
content?: string;
link?: string;
onClick: (data: any) => void;
onExpand: (title: string, isFolded: boolean) => void;
children: any[];
};
export declare const TreeNode: React.ForwardRefExoticComponent<TreeNodeProps & React.RefAttributes<HTMLDivElement>>;