import React from "react";
import { Typography, Spin, Flex } from "antd";
import { LoadingOutlined } from "@ant-design/icons";

const { Text } = Typography;

const Loading = ({}) => {
  return (
    <Flex
      style={{ width: "100%", height: "100%" }}
      justify="center"
      align="center"
    >
      <Flex gap="large" align="center">
        <Text style={{ fontSize: 32 }}>
          <LoadingOutlined />
        </Text>
      </Flex>
    </Flex>
  );
};

Loading.propTypes = {};

export default Loading;
