import { FC, memo } from "react";

import { widgetLoadingWrapperStyle } from "./style";
import { CircularProgress } from "@mui/material";

const WidgetLoading: FC = () => {
  return (
    <div css={widgetLoadingWrapperStyle}>
      <CircularProgress size="30px" />
    </div>
  );
};

WidgetLoading.displayName = "WidgetLoading";

export default memo(WidgetLoading);
