({ message })
| 5 | } |
| 6 | |
| 7 | const ErrorDisplay: React.FC<ErrorDisplayProps> = ({ message }) => { |
| 8 | return ( |
| 9 | <div className="mb-4 p-4 bg-red-100 text-red-700 rounded-md"> |
| 10 | {message} |
| 11 | </div> |
| 12 | ); |
| 13 | }; |
| 14 | |
| 15 | export default ErrorDisplay; |
nothing calls this directly
no outgoing calls
no test coverage detected