UNPKG

react-native-zoom-toolkit

Version:

Smoothly zoom any image, video or component you want!

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