README
pui-react-images
A React component for rendering responsive and linked images
Pivotal UI React (GitHub, npm) is a collection of React components for rapidly building and prototyping UIs.
This component requires React v0.13
See the Pivotal UI Styleguide for fully rendered examples.
Components
Image
A wrapper around the <img>
tag that adds linking and responsiveness
var Image = require('
#### Properties
- `src`
- `String`: The URL to the image.
- `responsive`
- `Boolean`: Whether to have the image fill its container while preserving aspect ratio
- `href`
- `String`: If given a URL, makes the image link to that URL
*****************************************
(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.