forgeplus-react/src/common/LoadingSpin.js

30 lines
637 B
JavaScript
Raw Normal View History

2020-03-16 14:12:11 +08:00
import React, { Component } from 'react';
import {Spin} from 'antd';
class LoadingSpin extends Component{
constructor(props) {
super(props)
}
render(){
const { style } = this.props;
return(
<div className="edu-tab-con-box clearfix edu-txt-center" style={style}>
<style>
{`
.edu-tab-con-box{
padding:100px 0px;
}
.ant-modal-body .edu-tab-con-box{
padding:0px!important;
}
img.edu-nodata-img{
margin: 40px auto 20px;
}
`}
</style>
2020-04-28 17:23:34 +08:00
<Spin/>
2020-03-16 14:12:11 +08:00
</div>
)
}
}
2020-04-28 17:23:34 +08:00
export default LoadingSpin;