waveterm/frontend/app/element/quickelems.tsx
2024-06-11 17:42:10 -07:00

20 lines
441 B
TypeScript

// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import React from "react";
import "./quickelems.less";
function CenteredLoadingDiv() {
return <CenteredDiv>loading...</CenteredDiv>;
}
function CenteredDiv({ children }: { children: React.ReactNode }) {
return (
<div className="centered-div">
<div>{children}</div>
</div>
);
}
export { CenteredDiv, CenteredLoadingDiv };