Browse Source

Fixes the name of the component on documentation

AvatarImage -> Avatar
main
Fabio M. Costa 11 years ago
parent
commit
d469a4e694
  1. 2
      docs/ref-02-component-api.md

2
docs/ref-02-component-api.md

@ -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`. 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`.

Loading…
Cancel
Save