react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
15 lines (14 loc) • 742 B
TypeScript
import React from 'react';
import type { ScrollViewProps } from 'react-native';
import { ScrollView } from 'react-native';
import type { SharedValue } from '../commonTypes';
export interface AnimatedScrollViewProps extends ScrollViewProps {
scrollViewOffset?: SharedValue<number>;
}
interface AnimatedScrollViewComplement extends ScrollView {
getNode(): ScrollView;
}
declare const AnimatedScrollViewComponent: React.ComponentClass<import("..").AnimateProps<ScrollViewProps>, any>;
export declare const AnimatedScrollView: React.ForwardRefExoticComponent<AnimatedScrollViewProps & React.RefAttributes<AnimatedScrollView>>;
export type AnimatedScrollView = AnimatedScrollViewComplement & typeof AnimatedScrollViewComponent;
export {};