21 lines
525 B
JavaScript
21 lines
525 B
JavaScript
import React from "react";
|
|
import { LoaderStyle } from "../../../constants";
|
|
import RectangleLoader from "../RectangleLoader";
|
|
|
|
const speed = 2;
|
|
|
|
const SettingsHeaderLoader = () => (
|
|
<RectangleLoader
|
|
height={24}
|
|
width={140}
|
|
backgroundColor={LoaderStyle.backgroundColor}
|
|
foregroundColor={LoaderStyle.foregroundColor}
|
|
backgroundOpacity={LoaderStyle.backgroundOpacity}
|
|
foregroundOpacity={LoaderStyle.foregroundOpacity}
|
|
speed={speed}
|
|
animate={true}
|
|
/>
|
|
);
|
|
|
|
export default SettingsHeaderLoader;
|