UNPKG

@fruits-chain/react-native-xiaoshu

Version:
11 lines • 803 B
import React from 'react'; import type { TreeProps, TreeValue, TreeOption, TreeSearchListData } from './interface'; export declare const findNodeByValue: (tree: TreeOption[], value: TreeValue) => TreeOption | undefined; export declare const findAllChildrenValue: (tree: TreeOption[]) => TreeValue[]; export declare const findParentNodeByValue: (tree: TreeOption[], value: TreeValue) => TreeOption | null; export declare const findAllParentNodeByValue: (tree: TreeOption[], value: TreeValue) => TreeOption[]; export declare const flattenDeepWidthChildren: (tree: TreeOption[]) => TreeOption[]; export declare const buildHighlightLabelConfig: (label: string, keyword: string) => TreeSearchListData['labels']; declare const Tree: React.FC<TreeProps>; export default Tree; //# sourceMappingURL=tree.d.ts.map