update avatar example to use `image` instead of `img` property
parent
f16934c95e
commit
0e60fd2a5e
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue