import React from 'react';

// import { BeatLoader } from 'react-spinners';

interface AttachmentUploadingElementProps {
  name?: string;
}
export const AttachmentUploadingElement = ({
  name,
}: AttachmentUploadingElementProps) => {
  return (
    <div className="flex items-center justify-center p-4">
      <div className="flex h-16 w-32 flex-col items-center justify-center gap-2">
        {/* <BeatLoader size={18} className="ring-ring" /> */}
        <div className="w-full truncate">{name} 上传中...</div>
      </div>
    </div>
  );
};
