mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 21:18:01 +08:00
b6c32f6a58
* demo: update Avatar demo * ci * ci * add margin
16 lines
313 B
TypeScript
16 lines
313 B
TypeScript
import { Avatar, Space } from 'antd';
|
|
import React from 'react';
|
|
|
|
const App: React.FC = () => (
|
|
<Space>
|
|
<Avatar shape="circle" src="http://abc.com/not-exist.jpg">
|
|
A
|
|
</Avatar>
|
|
<Avatar shape="circle" src="http://abc.com/not-exist.jpg">
|
|
ABC
|
|
</Avatar>
|
|
</Space>
|
|
);
|
|
|
|
export default App;
|