UNPKG

react-native-skia-responsive-text

Version:

A library providing a wrapper for the React Native Skia Text component, offering features like user-friendly text alignment, efficient multiline text management, and straightforward text truncation.

6 lines 286 B
import { useDerivedValue } from 'react-native-reanimated'; import { isSharedValue } from '../utils'; export default function useAnimatableValue(value) { return useDerivedValue(() => isSharedValue(value) ? value.value : value, [value]); } //# sourceMappingURL=useAnimatableValue.js.map