pocko-ui
Version:
React components using pure Bootstrap 5+ which does not contain any external style and script libraries.
21 lines (20 loc) • 766 B
TypeScript
import React from "react";
import "./Index.scss";
interface Props {
treesRef?: any;
wrapperClassName?: any;
leafIcon?: React.ReactNode;
arrowIcons?: React.ReactNode[];
hasChildrenFn?: (node: any) => boolean;
id: string;
name: string;
data: any[];
defaultId?: any;
treeDataItemClick?: Function;
renderCustomContent?: (node: any) => JSX.Element;
dataService?: any;
dataServiceFunction?: string;
dataServiceFunctionParams?: any[];
}
export default function Index({ treesRef, id, name, wrapperClassName, arrowIcons, leafIcon, hasChildrenFn, data, defaultId, treeDataItemClick, renderCustomContent, dataService, dataServiceFunction, dataServiceFunctionParams, }: Props): JSX.Element;
export {};