mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fixes the name of the component on documentation
AvatarImage -> Avatar
This commit is contained in:
committed by
Paul O’Shannessy
parent
e7f48a6c00
commit
adad0d72be
@@ -60,7 +60,7 @@ var Avatar = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
// <AvatarImage userId={17} width={200} height={200} />
|
||||
// <Avatar userId={17} width={200} height={200} />
|
||||
```
|
||||
|
||||
Properties that are specified directly on the target component instance (such as `src` and `userId` in the above example) will not be overwritten by `transferPropsTo`.
|
||||
|
||||
Reference in New Issue
Block a user