VencordPlus/RemovedPlusPlugins/notesSearcher/components/LoadingSpinner.tsx
RobinRMC 9d150b6c69
Remove NotesSearcher, SkypeStartupSound, VoiceChannelLog & VoiceJoinMessages
Removed plugins will be put in a dedicated directory from now on.
2024-09-07 00:41:03 +02:00

29 lines
932 B
TypeScript

/*
* Vencord, a Discord client mod
* Copyright (c) 2024 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { LazyComponent } from "@utils/react";
import { React } from "@webpack/common";
export const LoadingSpinner = LazyComponent(() => React.memo(() => {
return (
<div className={"vc-notes-searcher-modal-spinner-container"} style={{
width: "56px",
height: "56px",
margin: "12px",
}}>
<span className={"vc-notes-searcher-modal-spinner"} style={{
width: "56px",
height: "56px",
border: "5px solid #fff",
borderRadius: "50%",
display: "inline-block",
boxSizing: "border-box",
position: "relative",
animation: "vc-notes-searcher-pulse 1s linear infinite",
}} />
</div>
);
}));