mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 23:50:35 +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;
|