UNPKG

react-native-web

Version:
23 lines (22 loc) 745 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 FlatList from '../../../../exports/FlatList'; import createAnimatedComponent from '../createAnimatedComponent'; /** * @see https://github.com/facebook/react-native/commit/b8c8562 */ var FlatListWithEventThrottle = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement(FlatList, _extends({ scrollEventThrottle: 0.0001 }, props, { ref: ref }))); export default createAnimatedComponent(FlatListWithEventThrottle);