Skip to content

Instantly share code, notes, and snippets.

@reime005
Created December 10, 2020 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reime005/03537de3b3acc5887fd039826833d944 to your computer and use it in GitHub Desktop.
Save reime005/03537de3b3acc5887fd039826833d944 to your computer and use it in GitHub Desktop.
import { useSharedValue } from 'react-native-reanimated';
const RADIUS = 30;
const currTime = useSharedValue(1);
const x = {
first: useSharedValue(RADIUS + 10),
second: useSharedValue(RADIUS * 3 + 10),
};
const radius = {
first: useSharedValue(RADIUS),
second: useSharedValue(RADIUS),
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment