UNPKG

@minimaltech/ra-infra

Version:

Minimal Technology ReactJS Infrastructure

18 lines (17 loc) 521 B
import { SvgIconProps } from '@mui/material'; import { ITreeItemProps } from './TreeItem'; export interface ITreeData { id: string | number; children?: ITreeData[]; label: string; icon?: { default?: React.FC<SvgIconProps>; expanded?: React.FC<SvgIconProps>; collapsed?: React.FC<SvgIconProps>; }; } export interface ITreeProps { data: ITreeData[]; itemProps?: ITreeItemProps; } export declare const Tree: (props: ITreeProps) => import("react/jsx-runtime").JSX.Element;