Fix React deprecation warnings (#1976)

- Refactor imports of PropTypes to use the prop-types package
- Upgrade dependencies that were setting off deprecation warnings
This commit is contained in:
Zachary Wasserman
2019-01-06 17:25:33 -08:00
committed by GitHub
parent 085415aa7b
commit dc4b97d15f
137 changed files with 306 additions and 170 deletions
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { filter, includes, isEqual, noop } from 'lodash';
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import expect, { createSpy, restoreSpies } from 'expect';
import { mount } from 'enzyme';
import { noop } from 'lodash';