UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

5 lines (4 loc) 292 B
import type { SharedValue } from '../commonTypes'; import type { DependencyList } from './commonTypes'; export type DerivedValue<Value> = Readonly<SharedValue<Value>>; export declare function useDerivedValue<Value>(processor: () => Value, dependencies?: DependencyList): DerivedValue<Value>;