SyncM8/syncm8

View on GitHub
client/src/components/LoadingSpinner/LoadingSpinner.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import "./LoadingSpinner.css";

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

/**
 * Loading Spinner component
 * @returns JSX.Element
 */
const LoadingSpinner = (): JSX.Element => (
  <Spin
    className="spin-center"
    size="large"
    indicator={<LoadingOutlined style={{ fontSize: 180 }} />}
  />
);

export default LoadingSpinner;