This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pick from 'lodash/pick'; | |
import bindAll from 'lodash/bindAll'; | |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
const MODIFIER_KEYS = ['ctrlKey', 'shiftKey', 'altKey', 'metaKey']; | |
/** | |
* Detects drag modifier keys on drag events that originated | |
* from the wrapped component |