rc-resize-observer
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -21,3 +21,3 @@ import * as React from 'react'; | ||
childNode: RefNode; | ||
currentElement: HTMLElement | null; | ||
currentElement: Element | null; | ||
state: { | ||
@@ -24,0 +24,0 @@ width: number; |
@@ -136,2 +136,3 @@ "use strict"; | ||
this.destroyObserver(); | ||
this.currentElement = element; | ||
} | ||
@@ -138,0 +139,0 @@ |
@@ -21,3 +21,3 @@ import * as React from 'react'; | ||
childNode: RefNode; | ||
currentElement: HTMLElement | null; | ||
currentElement: Element | null; | ||
state: { | ||
@@ -24,0 +24,0 @@ width: number; |
@@ -136,2 +136,3 @@ "use strict"; | ||
this.destroyObserver(); | ||
this.currentElement = element; | ||
} | ||
@@ -138,0 +139,0 @@ |
{ | ||
"name": "rc-resize-observer", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Resize observer for React", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
26255
490