upd
This commit is contained in:
@@ -7,18 +7,15 @@ export interface FacebookCircularProgressProps {
|
||||
color?: string;
|
||||
size?: number;
|
||||
thickness?: number;
|
||||
bgColor?: string;
|
||||
fgColor?: string;
|
||||
}
|
||||
|
||||
const FacebookCircularProgress = forwardRef(
|
||||
({ sx, color, bgColor, fgColor, ...rest }: FacebookCircularProgressProps, ref) => {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user