index.tsx
387 字节
import React, { memo } from 'react'
import type { FC, ReactNode } from 'react'
import { Space, Spin } from 'antd'
interface IProps {
children?: ReactNode
}
const AppLoading: FC<IProps> = memo(() => {
return (
<div className="flexC" style={{ width: '100%' }}>
<Space size="middle">
<Spin size="large" />
</Space>
</div>
)
})
export default AppLoading