nicecode-v2/packages/biz/es/treeTransfer/treeTransferHelper.d.ts

13 lines
435 B
TypeScript

export declare const isChecked: (selectedKeys: React.Key[], eventKey: React.Key) => boolean;
/**
* 通过子元素找到父级节点
* @param objects
* @param element
* @returns
*/
export declare const findParentByChild: (objects: any[], propertyValue: string | number, propertyKey?: string) => any;
export declare const getAllRootKeyById: (val: string | number, list: any[], key?: string) => {
root: any;
keys: any[];
};