rmc-dialog
Advanced tools
Comparing version 0.0.1-alpha.3 to 0.0.1-alpha.4
@@ -11,2 +11,5 @@ /// <reference types="react" /> | ||
componentDidMount(): void; | ||
shouldComponentUpdate({visible}: { | ||
visible: any; | ||
}): boolean; | ||
componentWillUnmount(): void; | ||
@@ -13,0 +16,0 @@ componentDidUpdate(): void; |
@@ -37,2 +37,9 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
}, { | ||
key: 'shouldComponentUpdate', | ||
value: function shouldComponentUpdate(_ref) { | ||
var visible = _ref.visible; | ||
return !!(this.props.visible || visible); | ||
} | ||
}, { | ||
key: 'componentWillUnmount', | ||
@@ -39,0 +46,0 @@ value: function componentWillUnmount() { |
@@ -11,2 +11,5 @@ /// <reference types="react" /> | ||
componentDidMount(): void; | ||
shouldComponentUpdate({visible}: { | ||
visible: any; | ||
}): boolean; | ||
componentWillUnmount(): void; | ||
@@ -13,0 +16,0 @@ componentDidUpdate(): void; |
@@ -69,2 +69,9 @@ 'use strict'; | ||
}, { | ||
key: 'shouldComponentUpdate', | ||
value: function shouldComponentUpdate(_ref) { | ||
var visible = _ref.visible; | ||
return !!(this.props.visible || visible); | ||
} | ||
}, { | ||
key: 'componentWillUnmount', | ||
@@ -71,0 +78,0 @@ value: function componentWillUnmount() { |
{ | ||
"name": "rmc-dialog", | ||
"version": "0.0.1-alpha.3", | ||
"version": "0.0.1-alpha.4", | ||
"description": "mobile dialog ui component 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
65159
1477