ViewLoading.js 370 B

1234567891011121314151617181920
  1. import React from "react";
  2. import { Spin } from "antd";
  3. const ViewLoading = () => {
  4. return (
  5. <div
  6. style={{
  7. display: "flex",
  8. justifyContent: "center",
  9. alignItems: "center",
  10. height: "100vh",
  11. background: "#fff",
  12. }}
  13. >
  14. <Spin tip="Cargando..." size="large" />
  15. </div>
  16. );
  17. };
  18. export default ViewLoading;