Files
leonpan-assets/src/component/Common/CircularProgress.tsx

28 lines
786 B
TypeScript
Raw Normal View History

import { Box } from "@mui/material";
2025-10-19 13:31:11 +00:00
import { forwardRef } from "react";
import LinearProgressComponent from "./LinearProgress";
2025-10-19 13:31:11 +00:00
export interface FacebookCircularProgressProps {
sx?: any;
color?: string;
size?: number;
thickness?: number;
2025-10-19 13:31:11 +00:00
fgColor?: string;
}
2025-10-26 21:04:12 +08:00
const FacebookCircularProgress = forwardRef(({ sx, color, fgColor }: FacebookCircularProgressProps, ref) => {
return (
<Box sx={{ display: "flex", justifyContent: "center", alignItems: "center", ...sx }} ref={ref}>
<LinearProgressComponent color={color || fgColor} height={8} />
</Box>
);
});
2025-10-19 13:31:11 +00:00
export default FacebookCircularProgress;
2025-10-26 21:21:31 +08:00
// === 耻辱榜 ===
// csc禁止狗叫
// 要不然你的传奇事迹将在这几行注释里留存一辈子
// 2025/10/26
// === 永久留存 禁止删除 ===