252 lines
7.3 KiB
JavaScript
252 lines
7.3 KiB
JavaScript
|
import React from "react";
|
||
|
import RectangleLoader from "../RectangleLoader/RectangleLoader";
|
||
|
import StyledRestoreBackup from "./StyledRestoreBackup";
|
||
|
const RestoreBackupLoader = ({
|
||
|
id,
|
||
|
className,
|
||
|
style,
|
||
|
isRectangle,
|
||
|
...rest
|
||
|
}) => {
|
||
|
const {
|
||
|
title,
|
||
|
borderRadius,
|
||
|
backgroundColor,
|
||
|
foregroundColor,
|
||
|
backgroundOpacity,
|
||
|
foregroundOpacity,
|
||
|
speed,
|
||
|
animate,
|
||
|
} = rest;
|
||
|
|
||
|
return (
|
||
|
<StyledRestoreBackup>
|
||
|
<RectangleLoader
|
||
|
className="restore-backup-loader_title"
|
||
|
title={title}
|
||
|
width="100%"
|
||
|
height="16"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
|
||
|
<div className="restore-backup_checkbox">
|
||
|
<RectangleLoader
|
||
|
title={title}
|
||
|
width="16"
|
||
|
height="16"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
<RectangleLoader
|
||
|
className="restore-backup_checkbox-first"
|
||
|
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="restore-backup_checkbox-second"
|
||
|
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="restore-backup_checkbox-third"
|
||
|
title={title}
|
||
|
width="100%"
|
||
|
height="100%"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
</div>
|
||
|
|
||
|
<RectangleLoader
|
||
|
className="restore-backup_input"
|
||
|
title={title}
|
||
|
width="100%"
|
||
|
height="32"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
<RectangleLoader
|
||
|
className="restore-backup_backup-list"
|
||
|
title={title}
|
||
|
width="100%"
|
||
|
height="20"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
<div className="restore-backup_notification">
|
||
|
<RectangleLoader
|
||
|
title={title}
|
||
|
width="16"
|
||
|
height="16"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
<RectangleLoader
|
||
|
className="restore-backup_notification-title"
|
||
|
title={title}
|
||
|
width="100%"
|
||
|
height="22"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
</div>
|
||
|
|
||
|
<RectangleLoader
|
||
|
className="restore-backup_warning-title"
|
||
|
title={title}
|
||
|
width="100%"
|
||
|
height="22"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
<RectangleLoader
|
||
|
className="restore-backup_warning-description"
|
||
|
title={title}
|
||
|
width="100%"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
<RectangleLoader
|
||
|
className="restore-backup_warning"
|
||
|
title={title}
|
||
|
width="100%"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
<div className="restore-backup_notification">
|
||
|
<RectangleLoader
|
||
|
title={title}
|
||
|
width="16"
|
||
|
height="16"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
<RectangleLoader
|
||
|
className="restore-backup_notification-title"
|
||
|
title={title}
|
||
|
width="100%"
|
||
|
height="22"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
</div>
|
||
|
|
||
|
<RectangleLoader
|
||
|
className="restore-backup_button"
|
||
|
title={title}
|
||
|
width="100%"
|
||
|
borderRadius={borderRadius}
|
||
|
backgroundColor={backgroundColor}
|
||
|
foregroundColor={foregroundColor}
|
||
|
backgroundOpacity={backgroundOpacity}
|
||
|
foregroundOpacity={foregroundOpacity}
|
||
|
speed={speed}
|
||
|
animate={animate}
|
||
|
/>
|
||
|
</StyledRestoreBackup>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default RestoreBackupLoader;
|