Skip to content

v3.3.3

Compare
Choose a tag to compare
@lukebrandonfarrell lukebrandonfarrell released this 01 Jun 12:49
· 6 commits to master since this release
  • Added an updateCollageSize function to dynamically adjust size of collage
const collageRef = useRef(null);

<DynamicCollage
  ref={collageRef}
  ...

collageRef.current.updateCollageSize({  
     width: // new width, 
     height: // new height 
})