Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/rc-tree

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rc-tree - npm Package Compare versions

Comparing version 1.4.5 to 1.4.6

30

rc-tree/index.d.ts

@@ -61,2 +61,20 @@ // Type definitions for rc-tree 1.4

export interface OnDragStartData {
event: Event;
node: TreeNode;
}
export interface OnDragEnterData {
event: Event;
node: TreeNode;
expandedKeys: string[];
}
export interface OnDropData {
event: Event;
node: TreeNode;
dragNode: TreeNode;
dragNodesKeys: string[];
}
export interface TreeProps extends Props<Tree> {

@@ -153,4 +171,16 @@ /**

draggable?: boolean;
/**
* event on drag start
*/
onDragStart?: (props: OnDragStartData) => void;
/**
* event on drag enter
*/
onDragEnter?: (props: OnDragEnterData) => void;
/**
* event on drag drop
*/
onDrop?: (props: OnDropData) => void;
}
export default class Tree extends Component<TreeProps> { }

7

rc-tree/package.json
{
"name": "@types/rc-tree",
"version": "1.4.5",
"version": "1.4.6",
"description": "TypeScript definitions for rc-tree",

@@ -9,3 +9,4 @@ "license": "MIT",

"name": "John Reilly",
"url": "https://github.com/johnnyreilly"
"url": "https://github.com/johnnyreilly",
"githubUsername": "johnnyreilly"
}

@@ -22,4 +23,4 @@ ],

},
"typesPublisherContentHash": "7e602a6db312288de9c4033fb8ac9aee528042bf843caa99461132323be98c18",
"typesPublisherContentHash": "37022923fcfa970479976a5deeaee4830a285ea87be20c6fe61e00d0e63b1221",
"typeScriptVersion": "2.3"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 21 Aug 2017 21:59:27 GMT
* Last updated: Wed, 24 Jan 2018 20:07:13 GMT
* Dependencies: react

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc