react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
12 lines (11 loc) • 371 B
TypeScript
import type { Component } from 'react';
import type { AnimatedRef } from './commonTypes';
interface MaybeScrollableComponent extends Component {
getNativeScrollRef?: any;
getScrollableNode?: any;
viewConfig?: {
uiViewClassName?: string;
};
}
export declare function useAnimatedRef<T extends MaybeScrollableComponent>(): AnimatedRef<T>;
export {};