Incorrect import reference of emptyFunction causes error when importi…

Summary:
Experimental component SwipeableListView fails to import due to incorrect import reference.  Followed example use of import of emptyFunction found in https://github.com/facebook/react-native/blob/master/Libraries/Components/TextInput/TextInput.js#L31
Closes https://github.com/facebook/react-native/pull/7954

Differential Revision: D3394202

fbshipit-source-id: db8ddc9d9635878f0ce1fb969ef6c6e3c27d63f3
This commit is contained in:
Geoff Lawson 2016-06-06 13:47:21 -07:00 committed by Facebook Github Bot 7
parent 2e7a536aba
commit 2fd537c55d
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ const View = require('View');
const {PropTypes} = React;
const emptyFunction = require('emptyFunction');
const emptyFunction = require('fbjs/lib/emptyFunction');
// Position of the left of the swipable item when closed
const CLOSED_LEFT_POSITION = 0;