import Spinner from "../Spinner";
const ErrorComp = ({ error }: { error: string }) => {
return (
);
};
interface TTDDialogOutputProps {
error: Error | null;
canvasRef: React.RefObject;
loaded: boolean;
}
export const TTDDialogOutput = ({
error,
canvasRef,
loaded,
}: TTDDialogOutputProps) => {
return (
{error &&
}
{loaded ? (
) : (
)}
);
};