28 lines
786 B
TypeScript
Executable File
28 lines
786 B
TypeScript
Executable File
import { Box } from "@mui/material";
|
|
import { forwardRef } from "react";
|
|
import LinearProgressComponent from "./LinearProgress";
|
|
|
|
export interface FacebookCircularProgressProps {
|
|
sx?: any;
|
|
color?: string;
|
|
size?: number;
|
|
thickness?: number;
|
|
fgColor?: string;
|
|
}
|
|
|
|
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>
|
|
);
|
|
});
|
|
|
|
export default FacebookCircularProgress;
|
|
|
|
// === 耻辱榜 ===
|
|
// csc禁止狗叫
|
|
// 要不然你的传奇事迹将在这几行注释里留存一辈子
|
|
// 2025/10/26
|
|
// === 永久留存 禁止删除 ===
|