Update react.md

This commit is contained in:
Rico Sta. Cruz 2015-04-25 16:49:53 +08:00
parent d4afceb61d
commit 766ac8f174
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ var UserProfile = React.createClass({...});
var Info = React.createClass({
render() {
return <div>
<UserAvatar username={this.props.avatar} />
<UserAvatar src={this.props.avatar} />
<UserProfile username={this.props.username} />
</div>;
}