Files
zellyy-finance/src/components/sync/SyncExplanation.tsx
gpt-engineer-app[bot] 5f269040fd Revert sync behavior after data reset
The sync setting should be disabled after data reset.
2025-03-18 01:28:18 +00:00

26 lines
877 B
TypeScript

import React from 'react';
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
import { AlertCircle } from "lucide-react";
interface SyncExplanationProps {
enabled: boolean;
}
const SyncExplanation: React.FC<SyncExplanationProps> = ({ enabled }) => {
if (!enabled) return null;
return (
<Alert className="bg-amber-50 text-amber-800 border-amber-200">
<AlertCircle className="h-4 w-4" />
<AlertTitle className="text-black"> </AlertTitle>
<AlertDescription className="text-sm text-black">
. .
.
</AlertDescription>
</Alert>
);
};
export default SyncExplanation;