You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/public/react/src/common/ShowSpin.js

33 lines
597 B

import React, { Component } from 'react';
import { SnackbarHOC } from 'educoder';
import { TPMIndexHOC } from '../modules/tpm/TPMIndexHOC';
import {Spin,Alert} from 'antd';
class ShowSpin extends Component{
constructor(props) {
super(props)
}
render() {
let marigin={
width: '100%',
minHeight: '500px',
}
return (
<Spin style={marigin}>
<Alert
style={marigin}
type="info"
/>
</Spin>
)
}
}
export default SnackbarHOC() ( TPMIndexHOC(ShowSpin) );