react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
9 lines (8 loc) • 317 B
TypeScript
import type { Component } from 'react';
import type { AnimatedRef } from './commonTypes';
interface ComponentRef extends Component {
getNativeScrollRef?: () => ComponentRef;
getScrollableNode?: () => ComponentRef;
}
export declare function useAnimatedRef<T extends ComponentRef>(): AnimatedRef<T>;
export {};