mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 09:21:22 +08:00
345 B
345 B
order | title | ||||
---|---|---|---|---|---|
6 |
|
zh-CN
使用自定义指示符。
en-US
Use custom loading indicator.
import { Spin, Icon } from 'antd';
const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;
ReactDOM.render(<Spin indicator={antIcon} />, mountNode);