
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;
