mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
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:
parent
2e7a536aba
commit
2fd537c55d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user