ldc-ovoteam/resources/ts/back/Components/SoftdeleteWarning.tsx

21 lines
637 B
TypeScript
Raw Permalink Normal View History

2026-03-30 14:17:31 +02:00
import { AlertCircle } from "lucide-react";
2026-03-30 14:17:31 +02:00
import InputError from "@/back/Components/InputError";
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
import trans from "@/hooks/use-translations";
2026-03-30 14:17:31 +02:00
export default function SoftdeleteWarning() {
return (
<>
<Alert variant="destructive" className="text-left mb-4">
<AlertCircle className="h-4 w-4" />
<AlertTitle>{trans("uwil-backend::back.warning")}</AlertTitle>
2026-03-30 14:17:31 +02:00
<AlertDescription>
<p>{trans("uwil-backend::back.warning_trash")}</p>
2026-03-30 14:17:31 +02:00
</AlertDescription>
</Alert>
<InputError all />
</>
);
}