react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
51 lines (42 loc) • 1.99 kB
JavaScript
'use strict';
import { createWorkletRuntime as createWorkletRuntimeFromWorklets, executeOnUIRuntimeSync as executeOnUIRuntimeSyncFromWorklets, isWorkletFunction as isWorkletFunctionFromWorklets, makeShareableCloneRecursive as makeShareableCloneRecursiveFromWorklets, runOnJS as runOnJSFromWorklets, runOnRuntime as runOnRuntimeFromWorklets, runOnUI as runOnUIFromWorklets } from 'react-native-worklets';
/**
* @deprecated Please import `makeShareableCloneRecursive` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
export const makeShareableCloneRecursive = makeShareableCloneRecursiveFromWorklets;
/**
* @deprecated Please import `createWorkletRuntime` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
export const createWorkletRuntime = createWorkletRuntimeFromWorklets;
/**
* @deprecated Please import `executeOnUIRuntimeSync` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
export const executeOnUIRuntimeSync = executeOnUIRuntimeSyncFromWorklets;
/**
* @deprecated Please import `runOnJS` directly from `react-native-worklets`
* instead of `react-native-reanimated`.
*/
export const runOnJS = runOnJSFromWorklets;
/**
* @deprecated Please import `runOnUI` directly from `react-native-worklets`
* instead of `react-native-reanimated`.
*/
export const runOnUI = runOnUIFromWorklets;
/**
* @deprecated Please import `runOnRuntime` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
export const runOnRuntime = runOnRuntimeFromWorklets;
/**
* @deprecated Please import `WorkletRuntime` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
/**
* @deprecated Please import `isWorkletFunction` directly from
* `react-native-worklets` instead of `react-native-reanimated`.
*/
export const isWorkletFunction = isWorkletFunctionFromWorklets;
//# sourceMappingURL=workletFunctions.js.map