mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
13 lines
280 B
TypeScript
13 lines
280 B
TypeScript
|
import React from 'react';
|
||
|
import { AntDesignOutlined } from '@ant-design/icons';
|
||
|
import { Avatar } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Avatar
|
||
|
size={{ xs: 24, sm: 32, md: 40, lg: 64, xl: 80, xxl: 100 }}
|
||
|
icon={<AntDesignOutlined />}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default App;
|