mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 00:08:27 +08:00
15 lines
468 B
TypeScript
15 lines
468 B
TypeScript
import React from 'react';
|
|
import { LoadingOutlined } from '@ant-design/icons';
|
|
import { Flex, Spin } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex align="center" gap="middle">
|
|
<Spin indicator={<LoadingOutlined spin />} size="small" />
|
|
<Spin indicator={<LoadingOutlined spin />} />
|
|
<Spin indicator={<LoadingOutlined spin />} size="large" />
|
|
<Spin indicator={<LoadingOutlined style={{ fontSize: 48 }} spin />} />
|
|
</Flex>
|
|
);
|
|
|
|
export default App;
|