upd
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user