@types/rc-tree
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -61,3 +61,2 @@ // Type definitions for rc-tree 1.4 | ||
export interface TreeProps extends Props<Tree> { | ||
@@ -133,19 +132,19 @@ /** | ||
*/ | ||
onExpand?: (expandedKeys: string[], e: ExpandData) => void; | ||
onExpand?(expandedKeys: string[], e: ExpandData): void; | ||
/** | ||
* click the treeNode/checkbox to fire | ||
*/ | ||
onCheck?: (checkedKeys: string[], e: CheckData) => void; | ||
onCheck?(checkedKeys: string[], e: CheckData): void; | ||
/** | ||
* click the treeNode to fire | ||
*/ | ||
onSelect?: (selectedKeys: string[], e: SelectData) => void; | ||
onSelect?(selectedKeys: string[], e: SelectData): void; | ||
/** | ||
* filter some treeNodes as you need. | ||
*/ | ||
filterTreeNode?: (node: TreeNode) => boolean; | ||
filterTreeNode?(node: TreeNode): boolean; | ||
/** | ||
* load data asynchronously | ||
*/ | ||
loadData?: (node: TreeNode) => Promise<any>; | ||
loadData?(node: TreeNode): Promise<any>; | ||
/** | ||
@@ -152,0 +151,0 @@ * whether can drag treeNode. |
{ | ||
"name": "@types/rc-tree", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "TypeScript definitions for rc-tree", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "2f3aabfa06911ec0a43683bce9b45fe3c79f41758dceba1ec8733c56501111d2", | ||
"typesPublisherContentHash": "a580f60e96bd5bc61773a6e93fbfc01b2a4ccfb644f677eb1edfe88a92cffa6a", | ||
"typeScriptVersion": "2.1" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/rc-tree | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rc-tree | ||
Additional Details | ||
* Last updated: Thu, 23 Feb 2017 15:22:21 GMT | ||
* Last updated: Fri, 31 Mar 2017 15:22:40 GMT | ||
* Dependencies: react | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5160
3
146