mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 01:11:26 +08:00
64b905e9bd
* update icons deps * update all icon ref * fix lint * update snapshot
388 B
388 B
order | title | ||||
---|---|---|---|---|---|
6 |
|
zh-CN
使用自定义指示符。
en-US
Use custom loading indicator.
import { Spin } from 'antd';
import { LoadingOutlined } from '@ant-design/icons';
const antIcon = <LoadingOutlined style={{ fontSize: 24 }} spin />;
ReactDOM.render(<Spin indicator={antIcon} />, mountNode);