react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
10 lines (9 loc) • 487 B
text/typescript
export function getUseOfValueInStyleWarning() {
return (
"It looks like you might be using shared value's .value inside reanimated inline style. " +
'If you want a component to update when shared value changes you should use the shared value' +
' directly instead of its current state represented by `.value`. See documentation here: ' +
'https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary/#animations-in-inline-styling'
);
}
;