import Stack from "@mui/material/Stack";
import { useTheme } from "@mui/material/styles";
import { LAYOUT } from "@/Utils/Theme/constants";
import { EmptyState } from "./EmptyState";
import type { StackProps } from "@mui/material/Stack";
interface BaseFallbackProps extends StackProps {
children: React.ReactNode;
}
export const BaseFallback = ({ children, ...props }: BaseFallbackProps) => {
const theme = useTheme();
return (
{children}
);
};
export const ErrorFallback = ({
title,
subtitle,
}: {
title: string;
subtitle: string;
}) => {
return (
);
};
export const EmptyFallback = ({
title,
description,
actionButtonText,
actionLink,
}: {
title: string;
description?: string;
actionButtonText: string;
actionLink: string;
}) => {
return (
);
};
export const EmptyMonitorFallback = ({
title,
description,
actionButtonText,
actionLink,
}: {
page: string;
title: string;
description?: string;
actionButtonText: string;
actionLink: string;
}) => {
return (
);
};