MCPcopy Create free account
hub / github.com/PatoSala/react-native-blocks / scrollUp

Function scrollUp

packages/core/src/components/DragProvider.tsx:57–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 const intervalRef = useRef<NodeJS.Timeout | null>(null);
56
57 const scrollUp = () => {
58 handleScrollTo({ y: scrollY.value - 200, animated: true });
59 };
60
61 const scrollDown = () => {
62 handleScrollTo({ y: scrollY.value + 200, animated: true });

Callers

nothing calls this directly

Calls 1

handleScrollToFunction · 0.85

Tested by

no test coverage detected