All files / src/assets/icons ErrorIcon.tsx

50% Statements 1/2
0% Branches 0/3
0% Functions 0/1
50% Lines 1/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37            519x                                                            
interface IconProps {
  height?: number;
  width?: number;
  fill?: string;
}
 
const ErrorIcon = ({ 
  width = 32,
  height = 32,
  fill = "#D92D20",
}: IconProps) => {
  return (
    <svg
      width={width}
      height={height}
      viewBox="0 0 32 33"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <circle 
        cx="16"
        cy="16.2393"
        r="12"
        stroke={fill}
        strokeWidth="2.3"
      />
      <path 
        d="M24 24.2393L8 8.23926"
        stroke={fill}
        strokeWidth="2.3"
      />
    </svg>
  );
};
 
export default ErrorIcon;