first commit
This commit is contained in:
22
滴滴淘/admin/src/components/loading/loading.tsx
Normal file
22
滴滴淘/admin/src/components/loading/loading.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import React, { Component } from 'react';
|
||||
import { Spin } from 'antd';
|
||||
|
||||
const style = {
|
||||
height: '100%',
|
||||
width: '100%',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
};
|
||||
|
||||
class Loading extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div style={style}>
|
||||
<Spin size="large" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default Loading;
|
||||
Reference in New Issue
Block a user