Skip to content

Commit

Permalink
Merge 1133266 into f131316
Browse files Browse the repository at this point in the history
  • Loading branch information
npmcdn-to-unpkg-bot committed Sep 2, 2016
2 parents f131316 + 1133266 commit 13a36a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -29,9 +29,9 @@ var Rectangle = require('react-rectangle');
#####Good old 1998 Script Tag:
The component depends on React ^0.14 (a introduction of stateless components), so if you're using it without a build step, React ^0.14 must be present as a global.
````html
<script src="https://npmcdn.com/react@^0.14/dist/react.min.js"></script>
<script src="https://npmcdn.com/react-dom@^0.14/dist/react-dom.min.js"></script>
<script src="https://npmcdn.com/react-rectangle"></script>
<script src="https://unpkg.com/react@^0.14/dist/react.min.js"></script>
<script src="https://unpkg.com/react-dom@^0.14/dist/react-dom.min.js"></script>
<script src="https://unpkg.com/react-rectangle"></script>
````
###API
The components takes a single prop 'aspectRatio'. You can pass a value in different formats:
Expand Down

0 comments on commit 13a36a9

Please sign in to comment.