Revert "ESLint: Re-enable rule default-props-match-prop-types (#10868)" (#11050)

This reverts commit 9f01a7fdf8.
This commit is contained in:
Grace Guo
2020-09-24 12:33:38 -07:00
committed by GitHub
parent eded51b2f8
commit f99753a800
21 changed files with 60 additions and 13 deletions

View File

@@ -37,7 +37,7 @@ export const DEFAULT_VIEWPORT = {
const PARAMS = ['longitude', 'latitude', 'zoom', 'bearing', 'pitch'];
const propTypes = {
onChange: PropTypes.func,
onChange: PropTypes.func.isRequired,
value: PropTypes.shape({
longitude: PropTypes.number,
latitude: PropTypes.number,