tsvalue = withTiming(toValue, config?, callback?)
true
になるts const offset = useSharedValue(width / 2 - 160);
useEffect(() => {
offset.value = withTiming(-offset.value, { duration: 1000 });
}, []);
setState(v => -v)
の様な更新を1秒かけて起こしている感じ