diff --git a/src/components/heatmap/orbit-control.js b/src/components/heatmap/orbit-control.js index 7ef19a42..934bdb7d 100755 --- a/src/components/heatmap/orbit-control.js +++ b/src/components/heatmap/orbit-control.js @@ -1,5 +1,5 @@ /* global window */ -import React, {Component, PropTypes} from 'react'; +import React, {Component} from 'react'; import {PerspectiveViewport} from 'deck.gl'; import {vec3} from 'gl-matrix'; @@ -141,26 +141,6 @@ export default class OrbitController extends Component { } } -OrbitController.propTypes = { - // target position - lookAt: PropTypes.arrayOf(PropTypes.number), - // camera distance - distance: PropTypes.number.isRequired, - minDistance: PropTypes.number, - maxDistance: PropTypes.number, - // rotation - rotationX: PropTypes.number, - rotationY: PropTypes.number, - // field of view - fov: PropTypes.number, - // viewport width in pixels - width: PropTypes.number.isRequired, - // viewport height in pixels - height: PropTypes.number.isRequired, - // callback - onChangeViewport: PropTypes.func.isRequired -}; - OrbitController.defaultProps = { lookAt: [0, 0, 0], rotationX: 0, diff --git a/src/components/heatmap/popup.js b/src/components/heatmap/popup.js index 8abcf13f..e27b563c 100755 --- a/src/components/heatmap/popup.js +++ b/src/components/heatmap/popup.js @@ -36,13 +36,6 @@ export class Popup extends PureComponent { }; } -Popup.propTypes = { - id: React.PropTypes.string, - title: React.PropTypes.string, - x: React.PropTypes.number, - y: React.PropTypes.number, -}; - Popup.defaultProps = { id: 'id', title: '',