create-expo-cljs-app
Version:
Create a react native application with Expo and Shadow-CLJS!
28 lines (26 loc) • 1.07 kB
JavaScript
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
*/
import * as React from 'react';
import ScrollView from '../../../../exports/ScrollView';
import createAnimatedComponent from '../createAnimatedComponent';
/**
* @see https://github.com/facebook/react-native/commit/b8c8562
*/
var ScrollViewWithEventThrottle = /*#__PURE__*/React.forwardRef(function (props, ref) {
return /*#__PURE__*/React.createElement(ScrollView, _extends({
scrollEventThrottle: 0.0001
}, props, {
ref: ref
}));
});
export default createAnimatedComponent(ScrollViewWithEventThrottle, {
collapsable: false
});