UNPKG

primereact

Version:

PrimeReact is an open source UI library for React featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with Prime

17 lines (15 loc) 374 B
import { IconType } from '../utils'; export default interface TreeNode { key?: string | number; label?: string; data?: any; icon?: IconType<TreeNode>; children?: TreeNode[]; style?: React.CSSProperties; className?: string; droppable?: boolean; draggable?: boolean; selectable?: boolean; leaf?: boolean; expanded?: boolean; }