Typescript

This commit is contained in:
Mitchell McCaffrey
2021-07-16 18:59:29 +10:00
parent 2ce9d2dd08
commit a1fb67df7b
22 changed files with 314 additions and 203 deletions

View File

@@ -3,13 +3,12 @@ import { Box } from "theme-ui";
import Spinner from "./Spinner";
function LoadingOverlay({
bg,
children,
}: {
type LoadingOverlayProps = {
bg: string;
children?: React.ReactNode;
}) {
};
function LoadingOverlay({ bg, children }: LoadingOverlayProps) {
return (
<Box
sx={{