Robust interactive image collage component for React Native
updateCollageSize
function to dynamically adjust size of collageconst collageRef = useRef(null);
<DynamicCollage
ref={collageRef}
...
collageRef.current.updateCollageSize({
width: // new width,
height: // new height
})
This release adds the ability to replace images, add custom icons to image containers, and allow images to focussed.