UNPKG

react-native-zoom-toolkit

Version:

Smoothly zoom any image, video or component you want!

10 lines 255 B
import { useSharedValue } from 'react-native-reanimated'; export const useVector = (x, y) => { const first = useSharedValue(x); const second = useSharedValue(y ?? x); return { x: first, y: second }; }; //# sourceMappingURL=useVector.js.map