UNPKG

496 BTypeScriptView Raw
1import type { Component } from 'react';
2import type { AnimatedRef } from './commonTypes';
3/**
4 * Lets you get a reference of a view that you can use inside a worklet.
5 *
6 * @returns An object with a `.current` property which contains an instance of a
7 * component.
8 * @see https://docs.swmansion.com/react-native-reanimated/docs/core/useAnimatedRef
9 */
10export declare function useAnimatedRef<TComponent extends Component>(): AnimatedRef<TComponent>;
11//# sourceMappingURL=useAnimatedRef.d.ts.map
\No newline at end of file