fix(device-selection): add proptypes shim for popup

AtlasKit is not fully compatible with React 16. One problem
is PropTypes will not be defined on the React object. So,
add the prop-types shim to the popup bundle.
This commit is contained in:
Leonard Kim 2017-11-27 18:31:59 -08:00 committed by yanas
parent e4ed02815f
commit 2becfd026b
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@
import 'aui-css';
import 'aui-experimental-css';
// FIXME: remove once atlaskit work with React 16.
import '../base/react/prop-types-polyfill.js';
import DeviceSelectionPopup from './DeviceSelectionPopup';
let deviceSelectionPopup;