This commit is contained in:
2025-10-26 21:04:12 +08:00
parent 6f155f8238
commit b8447640df

View File

@@ -7,18 +7,15 @@ export interface FacebookCircularProgressProps {
color?: string; color?: string;
size?: number; size?: number;
thickness?: number; thickness?: number;
bgColor?: string;
fgColor?: string; fgColor?: string;
} }
const FacebookCircularProgress = forwardRef( const FacebookCircularProgress = forwardRef(({ sx, color, fgColor }: FacebookCircularProgressProps, ref) => {
({ sx, color, bgColor, fgColor, ...rest }: FacebookCircularProgressProps, ref) => { return (
return ( <Box sx={{ display: "flex", justifyContent: "center", alignItems: "center", ...sx }} ref={ref}>
<Box sx={{ display: "flex", justifyContent: "center", alignItems: "center", ...sx }} ref={ref}> <LinearProgressComponent color={color || fgColor} height={8} />
<LinearProgressComponent color={color || fgColor} height={8} /> </Box>
</Box> );
); });
},
);
export default FacebookCircularProgress; export default FacebookCircularProgress;