1
0
Fork 0
polaris-task-force/src/components/static/WarningMessage.tsx

14 lines
447 B
TypeScript

import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
import { LucideAlertTriangle } from "lucide-react";
export const WarningMessage = ({ title, message }: { title: string; message: string }) => {
return (
<Alert className="border-red-500">
<LucideAlertTriangle />
<AlertTitle>{title}</AlertTitle>
<AlertDescription>{message}</AlertDescription>
</Alert>
);
};
export default WarningMessage;