Socket
Book a DemoInstallSign in
Socket

react-justified-layout

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-justified-layout

Flickr's justified-layout as a React component

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

react-justified-layout

Flickr's justified layout as a React component

Usage

See here for documentation & demo.

const JustifiedLayout = require('react-justified-layout');

<JustifiedLayout ...opts>
    <img style={{ height:1920, width: 1080 }} src="http://awwwwww.com/1" />
    <div aspectRatio={1.8}>Some Div</div>
    <CustomComponent style={{ backgroundColor: '#ffffff'}} />
</JustifiedLayout>

Development

npm install
npm start
open http://localhost:3000
npm run lint
npm test

Keywords

React

FAQs

Package last updated on 26 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts