Skip to content

Commit

Permalink
Fixed javascript tag on one of the readme code blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlplusb committed Apr 14, 2016
1 parent f293086 commit fa0ff47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const SizeMeHOC = SizeMe({

When you execute the `SizeMe` function it will return a Higher Order Component. You can use this Higher Order Component to decorate any of your existing Components with the size awareness ability. Each of the Components you decorate will then recieve a `size` prop, which is an object of schema `{ width: number, height: number }` - the numbers representing pixel values. Below is an example:

```javscript
```javascript
class MyComponent extends Component {
render() {
const { width, height } = this.props.size;
Expand Down

0 comments on commit fa0ff47

Please sign in to comment.