From 9c5483a7934f650556b290bdf82ca5ab54797f0b Mon Sep 17 00:00:00 2001 From: Michael Rochlin Date: Wed, 21 Jun 2017 12:55:35 -0400 Subject: [PATCH 1/2] Add onResizerClick and onResizerDoubleClick Add onResizerClick and onResizerDoubleClick to react-split-pane --- types/react-split-pane/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/react-split-pane/index.d.ts b/types/react-split-pane/index.d.ts index 27006b7088..8872739281 100644 --- a/types/react-split-pane/index.d.ts +++ b/types/react-split-pane/index.d.ts @@ -26,6 +26,9 @@ declare namespace ReactSplitPane { onDragFinished?: Function; onDragStarted?: Function; primary?: string; + onResizerClick?: Function; + onResizerDoubleClick?: Function; + /** * Either a number (in pixels) or string (percentage) */ From df24970805c9c943ed8d696099ccc8e0ab1fee6a Mon Sep 17 00:00:00 2001 From: Michael Rochlin Date: Wed, 21 Jun 2017 13:01:17 -0400 Subject: [PATCH 2/2] Update index.d.ts --- types/react-split-pane/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-split-pane/index.d.ts b/types/react-split-pane/index.d.ts index 8872739281..05d62fb962 100644 --- a/types/react-split-pane/index.d.ts +++ b/types/react-split-pane/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-split-pane v0.1.38 +// Type definitions for react-split-pane v0.1.63 // Project: https://github.com/tomkp/react-split-pane // Definitions by: Roger Chen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped