UNPKG

react-native-web

Version:
23 lines (22 loc) 755 B
import _extends from "@babel/runtime/helpers/extends"; /** * Copyright (c) Meta Platforms, Inc. and 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((props, ref) => /*#__PURE__*/React.createElement(ScrollView, _extends({ scrollEventThrottle: 0.0001 }, props, { ref: ref }))); export default createAnimatedComponent(ScrollViewWithEventThrottle);