update avatar example to use `image` instead of `img` property

old
Boris Mikhaylov 2016-01-25 15:49:30 +01:00
parent f16934c95e
commit 0e60fd2a5e
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ const AvatarTest = () => (
<Avatar style={{backgroundColor: 'deepskyblue'}} icon="folder" />
<Avatar icon={<GithubIcon />}/>
<Avatar><img src="https://placeimg.com/80/80/animals"/></Avatar>
<Avatar title="Javier" img="https://placeimg.com/80/80/animals"/>
<Avatar title="Javier" image="https://placeimg.com/80/80/animals"/>
<Avatar style={{backgroundColor: 'yellowgreen'}}><GithubIcon /></Avatar>
</div>
);

View File

@ -8,7 +8,7 @@ const AvatarTest = () => (
<div>
<Avatar style={{backgroundColor: 'deepskyblue'}} icon="folder" />
<Avatar><img src="https://placeimg.com/80/80/animals"/></Avatar>
<Avatar title="Javier" img="https://placeimg.com/80/80/animals"/>
<Avatar title="Javier" image="https://placeimg.com/80/80/animals"/>
<Avatar style={{backgroundColor: 'yellowgreen'}}><GithubIcon /></Avatar>
</div>
);