mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
10 lines
257 B
TypeScript
10 lines
257 B
TypeScript
|
import React from 'react';
|
||
|
import { LoadingOutlined } from '@ant-design/icons';
|
||
|
import { Spin } from 'antd';
|
||
|
|
||
|
const antIcon = <LoadingOutlined style={{ fontSize: 24 }} spin />;
|
||
|
|
||
|
const App: React.FC = () => <Spin indicator={antIcon} />;
|
||
|
|
||
|
export default App;
|