@antdp/page-loading
Version:
页面过渡动画组件。
24 lines • 650 B
JavaScript
import _extends from "@babel/runtime/helpers/extends";
import React from 'react';
import { Spin } from 'antd';
import { jsx as _jsx } from "react/jsx-runtime";
// loading components from code split
// https://umijs.org/plugin/umi-plugin-react.html#dynamicimport
export default function PageLoading(props) {
if (props === void 0) {
props = {};
}
return /*#__PURE__*/_jsx("div", {
style: {
paddingTop: 100,
paddingBottom: 100,
textAlign: 'center'
},
className: "antdp-page-loading",
children: /*#__PURE__*/_jsx(Spin, _extends({
size: "large",
tip: "\u52A0\u8F7D\u4E2D..."
}, props))
});
}
;