JSPM

  • Created
  • Published
  • Downloads 351193
  • Score
    100M100P100Q167604F
  • License MIT

Compute measurements of React components.

Package Exports

  • react-measure

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-measure) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Measure 0.0.2

Compute measurements of React components.

Example Usage

import Measure from 'react-measure';

<Measure>
  {({width, height, top, right, bottom, left}) =>
    <div>
      {/* do cool stuff with my dimensions */}
    </div>
  }
</Measure>