UNPKG

487 BPlain TextView Raw
1'use strict';
2export function getUseOfValueInStyleWarning() {
3 return (
4 "It looks like you might be using shared value's .value inside reanimated inline style. " +
5 'If you want a component to update when shared value changes you should use the shared value' +
6 ' directly instead of its current state represented by `.value`. See documentation here: ' +
7 'https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary/#animations-in-inline-styling'
8 );
9}