react-justified-layout
Flickr's justified layout as a React component
Usage
See here for documentation & demo.
const JustifiedLayout = ; <JustifiedLayout ...opts> <img style= height:1920 width: 1080 src="http://awwwwww.com/1" /> <div aspectRatio=18>Some Div</div> <CustomComponent style= backgroundColor: '#ffffff' /></JustifiedLayout>
Development
npm installnpm startopen http://localhost:3000npm run lintnpm test