mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 23:35:38 +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);