mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +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;
|