import { HTMLProps, ReactNode } from 'react';
export interface TreeNodeProps {
title: ReactNode;
childrens?: {
title: ReactNode;
}[];
}
export interface TreeChildProps {
items: TreeNodeProps;
iconShow?: ReactNode;
iconHide?: ReactNode;
}
export interface TreeProps extends HTMLProps {
/**
* Sets the items of the component
*/
items: TreeNodeProps[];
/**
* Sets the iconShow of the component
*/
iconShow?: ReactNode;
/**
* Sets the iconHide of the component
*/
iconHide?: ReactNode;
/**
* Sets the classname of the component
*/
className?: string;
}