import { __rest } from "tslib"; import { jsx as _jsx } from "react/jsx-runtime"; import React from "react"; import { Spin } from "antd"; export const DageLoading = React.memo((_a) => { var { style, className } = _a, rest = __rest(_a, ["style", "className"]); return (_jsx("div", { className: className, style: Object.assign({ position: "absolute", top: 0, left: 0, right: 0, bottom: 0, backgroundColor: "rgba(255,255,255,.8)", display: "flex", justifyContent: "center", alignItems: "center", zIndex: 9999 }, style), children: _jsx(Spin, Object.assign({ size: "large" }, rest)) })); });