diff --git a/src/recognizers/pannable.js b/src/recognizers/pannable.js index 5c05f22..17dbe66 100644 --- a/src/recognizers/pannable.js +++ b/src/recognizers/pannable.js @@ -1,6 +1,7 @@ 'use strict'; -import React, { PropTypes, Component, View, PanResponder, Animated } from 'react-native'; +import React, { PropTypes, Component } from 'react'; +import { View, PanResponder, Animated } from 'react-native'; const initialState = { absoluteChangeX: 0, diff --git a/src/recognizers/swipeable.js b/src/recognizers/swipeable.js index 0cc2fc3..822dccd 100644 --- a/src/recognizers/swipeable.js +++ b/src/recognizers/swipeable.js @@ -1,6 +1,7 @@ 'use strict'; -import React, { PropTypes, Component, View, PanResponder } from 'react-native'; +import React, { PropTypes, Component } from 'react'; +import { View, PanResponder } from 'react-native'; import isValidSwipe from '../utils/isValidSwipe'; const directions = {