mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 23:18:36 +08:00
2cdf586291
* chore: fix lint * chore: fix lint * test: fix 16 * fix: lint
16 lines
313 B
TypeScript
16 lines
313 B
TypeScript
import React from 'react';
|
|
import { Avatar, Space } from 'antd';
|
|
|
|
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;
|