UNPKG

react-native-mock-tmp-build

Version:

A fully mocked and test-friendly version of react native

29 lines (21 loc) 733 B
var ScrollViewManager={ getContentSize:function(){function getContentSize(reactTag,callback){ Promise.resolve().then(function(){return callback({ width:20, height:20});}); }return getContentSize;}(), calculateChildFrames:function(){function calculateChildFrames(reactTag,callback){ Promise.resolve().then(function(){return callback({ // TODO(lmr): });}); }return calculateChildFrames;}(), endRefreshing:function(){function endRefreshing(reactTag){ }return endRefreshing;}(), scrollTo:function(){function scrollTo(reactTag,offset,animated){ }return scrollTo;}(), zoomToRect:function(){function zoomToRect(reactTag,rect,animated){ }return zoomToRect;}(), DecelerationRate:{ normal:0, fast:1}}; module.exports=ScrollViewManager;