UNPKG

862 BTypeScriptView Raw
1import React from 'react';
2import type { ScrollViewProps } from 'react-native';
3import { ScrollView } from 'react-native';
4import type { SharedValue } from '../commonTypes';
5import type { AnimatedProps } from '../helperTypes';
6export interface AnimatedScrollViewProps extends AnimatedProps<ScrollViewProps> {
7 scrollViewOffset?: SharedValue<number>;
8}
9interface AnimatedScrollViewComplement extends ScrollView {
10 getNode(): ScrollView;
11}
12declare const AnimatedScrollViewComponent: React.ComponentClass<import("../helperTypes").AnimateProps<ScrollViewProps>, any>;
13export declare const AnimatedScrollView: React.ForwardRefExoticComponent<AnimatedScrollViewProps & React.RefAttributes<AnimatedScrollView>>;
14export type AnimatedScrollView = AnimatedScrollViewComplement & typeof AnimatedScrollViewComponent;
15export {};
16//# sourceMappingURL=ScrollView.d.ts.map
\No newline at end of file