UNPKG

@npmcorp/pui-react-tile-layout

Version:
42 lines (22 loc) 1.03 kB
# pui-react-tile-layout React tile layout component Pivotal UI React ([GitHub](https://github.com/pivotal-cf/pivotal-ui-react), [npm](https://www.npmjs.com/browse/keyword/pivotal%20ui%20modularized)) is a collection of [React](https://facebook.github.io/react/) components for rapidly building and prototyping UIs. This component requires React v0.13 See the [Pivotal UI Styleguide](http://styleguide.pivotal.io/react.html#tile_layout) for fully rendered examples. ## Components ### TileLayout A responsive left to right wrapping layout with a set number of columns where items will scale to fit their container ```js var TileLayout = require(' #### Properties - `columns` - `Number|Object`: Number of columns or mapping from screen size to number of columns - `noGutter` - `Boolean`: Removes the gutter ### TileLayout.Item Wrapper element for items in a tile layout ```js var TileLayout = require(' ***************************************** (c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.