mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
d0fd9935c6
* fix: Fix Spin missing default font size when customizing icons * chore: adjust style * test: add test case --------- Co-authored-by: 二货机器人 <smith3816@gmail.com>
15 lines
443 B
TypeScript
15 lines
443 B
TypeScript
import React from 'react';
|
|
import { LoadingOutlined } from '@ant-design/icons';
|
|
import { Space, Spin } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Space>
|
|
<Spin indicator={<LoadingOutlined spin />} size="small" />
|
|
<Spin indicator={<LoadingOutlined spin />} />
|
|
<Spin indicator={<LoadingOutlined spin />} size="large" />
|
|
<Spin indicator={<LoadingOutlined style={{ fontSize: 48 }} spin />} />
|
|
</Space>
|
|
);
|
|
|
|
export default App;
|