3 changed files with 3 additions and 9 deletions
@ -1,11 +1,5 @@ |
|||
import React from 'react'; |
|||
import { Spin } from 'antd'; |
|||
import { PageLoading } from '@ant-design/pro-layout'; |
|||
|
|||
// loading components from code split
|
|||
// https://umijs.org/plugin/umi-plugin-react.html#dynamicimport
|
|||
const PageLoading: React.FC = () => ( |
|||
<div style={{ paddingTop: 100, textAlign: 'center' }}> |
|||
<Spin size="large" /> |
|||
</div> |
|||
); |
|||
export default PageLoading; |
|||
|
|||
Loading…
Reference in new issue