Merge pull request #13 from dang0ld/patch-1

Update react.md
This commit is contained in:
Rico Sta. Cruz 2015-05-28 22:14:22 +08:00
commit 4873e97eff
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ Use [states](https://facebook.github.io/react/docs/tutorial.html#reactive-state)
```js
render: function () {
return <div class={this.props.fullscreen ? 'full' : ''}>
return <div className={this.props.fullscreen ? 'full' : ''}>
Welcome, {this.state.username}
</div>;
}