UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

6 lines (5 loc) 377 B
import type { DependencyList } from './commonTypes'; import type { useAnimatedPropsType } from '../helperTypes'; export declare const useAnimatedProps: useAnimatedPropsType; export declare function useWorkletCallback<A extends unknown[], R>(fun: (...args: A) => R, deps?: DependencyList): (...args: Parameters<typeof fun>) => R; export { useEvent, useHandler } from './utils';