UNPKG

650 BTypeScriptView Raw
1import type { SharedValue } from '../commonTypes';
2/**
3 * Lets you define [shared
4 * values](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#shared-value)
5 * in your components.
6 *
7 * @param initialValue - The value you want to be initially stored to a `.value`
8 * property.
9 * @returns A shared value with a single `.value` property initially set to the
10 * `initialValue` - {@link SharedValue}.
11 * @see https://docs.swmansion.com/react-native-reanimated/docs/core/useSharedValue
12 */
13export declare function useSharedValue<Value>(initialValue: Value): SharedValue<Value>;
14//# sourceMappingURL=useSharedValue.d.ts.map
\No newline at end of file