@tamagui/react-native-web-lite
Version:
React Native for Web
14 lines (13 loc) • 618 B
JavaScript
import * as React from "react";
import { ScrollView as ScrollViewComponent } from "../../../../ScrollView";
import { createAnimatedComponent } from "../createAnimatedComponent.mjs";
import { jsx } from "react/jsx-runtime";
const ScrollViewWithEventThrottle = React.forwardRef((props, ref) => /* @__PURE__ */jsx(ScrollViewComponent, {
scrollEventThrottle: 1e-4,
...props,
ref
})),
ScrollView = createAnimatedComponent(ScrollViewWithEventThrottle);
var AnimatedScrollView_default = ScrollView;
export { ScrollView, AnimatedScrollView_default as default };
//# sourceMappingURL=AnimatedScrollView.mjs.map