xrkffgg
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
2 deletions
-
components/avatar/__tests__/__snapshots__/demo.test.js.snap
-
components/avatar/demo/dynamic.md
|
|
@ -450,7 +450,7 @@ exports[`renders ./components/avatar/demo/dynamic.md correctly 1`] = ` |
|
|
|
</span> |
|
|
|
<button |
|
|
|
class="ant-btn ant-btn-sm" |
|
|
|
style="margin-left:16px;vertical-align:middle" |
|
|
|
style="margin:0 16px;vertical-align:middle" |
|
|
|
type="button" |
|
|
|
> |
|
|
|
<span> |
|
|
|
|
|
@ -33,7 +33,11 @@ const Autoset: React.FC = () => { |
|
|
|
<Avatar style={{ backgroundColor: color, verticalAlign: 'middle' }} size="large"> |
|
|
|
{user} |
|
|
|
</Avatar> |
|
|
|
<Button size="small" style={{ marginLeft: 16, verticalAlign: 'middle' }} onClick={changeUser}> |
|
|
|
<Button |
|
|
|
size="small" |
|
|
|
style={{ margin: '0 16px', verticalAlign: 'middle' }} |
|
|
|
onClick={changeUser} |
|
|
|
> |
|
|
|
Change |
|
|
|
</Button> |
|
|
|
</div> |
|
|
|