src/withMousePosition.js
Function withMousePosition
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const withMousePosition = throttle => BaseComponent => {
class WithMousePosition extends React.Component {
state = defaultState;
componentDidMount = () => {