169 lines
5.0 KiB
JavaScript
169 lines
5.0 KiB
JavaScript
import React from "react";
|
|
import RectangleLoader from "../RectangleLoader/RectangleLoader";
|
|
import StyledDataBackup from "./StyledDataBackup";
|
|
const DataBackupLoader = ({ id, className, style, isRectangle, ...rest }) => {
|
|
const {
|
|
title,
|
|
borderRadius,
|
|
backgroundColor,
|
|
foregroundColor,
|
|
backgroundOpacity,
|
|
foregroundOpacity,
|
|
speed,
|
|
animate,
|
|
} = rest;
|
|
|
|
return (
|
|
<StyledDataBackup>
|
|
<div className="data-backup-loader_main">
|
|
<RectangleLoader
|
|
className="data-backup-loader_title"
|
|
title={title}
|
|
width="100%"
|
|
height="22"
|
|
borderRadius={borderRadius}
|
|
backgroundColor={backgroundColor}
|
|
foregroundColor={foregroundColor}
|
|
backgroundOpacity={backgroundOpacity}
|
|
foregroundOpacity={foregroundOpacity}
|
|
speed={speed}
|
|
animate={animate}
|
|
/>
|
|
|
|
<RectangleLoader
|
|
className="data-backup-loader_title-description"
|
|
title={title}
|
|
width="100%"
|
|
height="100%"
|
|
borderRadius={borderRadius}
|
|
backgroundColor={backgroundColor}
|
|
foregroundColor={foregroundColor}
|
|
backgroundOpacity={backgroundOpacity}
|
|
foregroundOpacity={foregroundOpacity}
|
|
speed={speed}
|
|
animate={animate}
|
|
/>
|
|
</div>
|
|
|
|
<div className="data-backup-loader">
|
|
<RectangleLoader
|
|
title={title}
|
|
width="16"
|
|
height="16"
|
|
borderRadius={borderRadius}
|
|
backgroundColor={backgroundColor}
|
|
foregroundColor={foregroundColor}
|
|
backgroundOpacity={backgroundOpacity}
|
|
foregroundOpacity={foregroundOpacity}
|
|
speed={speed}
|
|
animate={animate}
|
|
/>
|
|
<RectangleLoader
|
|
className="data-backup-loader_menu"
|
|
title={title}
|
|
width="100%"
|
|
height="100%"
|
|
borderRadius={borderRadius}
|
|
backgroundColor={backgroundColor}
|
|
foregroundColor={foregroundColor}
|
|
backgroundOpacity={backgroundOpacity}
|
|
foregroundOpacity={foregroundOpacity}
|
|
speed={speed}
|
|
animate={animate}
|
|
/>
|
|
<div></div>
|
|
<RectangleLoader
|
|
className="data-backup-loader_menu-description"
|
|
title={title}
|
|
width="100%"
|
|
height="100%"
|
|
borderRadius={borderRadius}
|
|
backgroundColor={backgroundColor}
|
|
foregroundColor={foregroundColor}
|
|
backgroundOpacity={backgroundOpacity}
|
|
foregroundOpacity={foregroundOpacity}
|
|
speed={speed}
|
|
animate={animate}
|
|
/>
|
|
<RectangleLoader
|
|
title={title}
|
|
width="16"
|
|
height="16"
|
|
borderRadius={borderRadius}
|
|
backgroundColor={backgroundColor}
|
|
foregroundColor={foregroundColor}
|
|
backgroundOpacity={backgroundOpacity}
|
|
foregroundOpacity={foregroundOpacity}
|
|
speed={speed}
|
|
animate={animate}
|
|
/>
|
|
<RectangleLoader
|
|
className="data-backup-loader_menu"
|
|
title={title}
|
|
width="100%"
|
|
height="100%"
|
|
borderRadius={borderRadius}
|
|
backgroundColor={backgroundColor}
|
|
foregroundColor={foregroundColor}
|
|
backgroundOpacity={backgroundOpacity}
|
|
foregroundOpacity={foregroundOpacity}
|
|
speed={speed}
|
|
animate={animate}
|
|
/>
|
|
<RectangleLoader
|
|
title={title}
|
|
width="16"
|
|
height="16"
|
|
borderRadius={borderRadius}
|
|
backgroundColor={backgroundColor}
|
|
foregroundColor={foregroundColor}
|
|
backgroundOpacity={backgroundOpacity}
|
|
foregroundOpacity={foregroundOpacity}
|
|
speed={speed}
|
|
animate={animate}
|
|
/>
|
|
<RectangleLoader
|
|
className="data-backup-loader_menu-higher"
|
|
title={title}
|
|
width="100%"
|
|
height="100%"
|
|
borderRadius={borderRadius}
|
|
backgroundColor={backgroundColor}
|
|
foregroundColor={foregroundColor}
|
|
backgroundOpacity={backgroundOpacity}
|
|
foregroundOpacity={foregroundOpacity}
|
|
speed={speed}
|
|
animate={animate}
|
|
/>
|
|
<RectangleLoader
|
|
title={title}
|
|
width="16"
|
|
height="16"
|
|
borderRadius={borderRadius}
|
|
backgroundColor={backgroundColor}
|
|
foregroundColor={foregroundColor}
|
|
backgroundOpacity={backgroundOpacity}
|
|
foregroundOpacity={foregroundOpacity}
|
|
speed={speed}
|
|
animate={animate}
|
|
/>
|
|
<RectangleLoader
|
|
className="data-backup-loader_menu-last"
|
|
title={title}
|
|
width="100%"
|
|
height="100%"
|
|
borderRadius={borderRadius}
|
|
backgroundColor={backgroundColor}
|
|
foregroundColor={foregroundColor}
|
|
backgroundOpacity={backgroundOpacity}
|
|
foregroundOpacity={foregroundOpacity}
|
|
speed={speed}
|
|
animate={animate}
|
|
/>
|
|
</div>
|
|
</StyledDataBackup>
|
|
);
|
|
};
|
|
|
|
export default DataBackupLoader;
|