Refactor SupabaseConnectionTest component

The SupabaseConnectionTest component was refactored into smaller, more manageable components to improve readability and maintainability.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-15 12:45:12 +00:00
parent 1e6d360d69
commit 971a1d29e5
10 changed files with 320 additions and 177 deletions

View File

@@ -0,0 +1,20 @@
import React from 'react';
interface TestResultItemProps {
label: string;
success: boolean;
}
const TestResultItem: React.FC<TestResultItemProps> = ({ label, success }) => {
return (
<div className="flex justify-between">
<span className="font-medium">{label}:</span>
<span className={success ? 'text-green-500' : 'text-red-500'}>
{success ? '✅ 성공' : '❌ 실패'}
</span>
</div>
);
};
export default TestResultItem;