All files / src/components/Chatbot/Result DecreaseIcon.tsx

100% Statements 20/20
100% Branches 1/1
100% Functions 1/1
100% Lines 20/20

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                  1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x   1x 1x 1x 1x 1x   1x  
import React from 'react';
 
export interface Props {
  width?: number | string;
  height?: number | string;
  color?: string;
  className?: string;
}
 
export const DecreaseIcon: React.FC<Props> = ({
  width = 14,
  height = 14,
  color = '#E4317A',
  className = '',
}) => {
  return (
    <svg
      width={width}
      height={height}
      className={className}
      viewBox="0 0 15 15"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M7.29688 0.371338C3.43088 0.371338 0.296875 3.50534 0.296875 7.37134C0.296875 11.2373 3.43088 14.3713 7.29688 14.3713C11.1629 14.3713 14.2969 11.2373 14.2969 7.37134C14.2926 3.5071 11.1611 0.375582 7.29688 0.371338ZM7.28568 1.77134H7.29688C10.3886 1.77443 12.8928 4.28243 12.8913 7.37414C12.8897 10.4658 10.383 12.9713 7.29127 12.9713C4.19957 12.9713 1.69282 10.4658 1.69128 7.37414C1.68973 4.28243 4.19398 1.77443 7.28568 1.77134ZM7.99687 3.87134H6.59687V8.19034L4.78387 6.38434L3.79688 7.37134L7.29688 10.8713L10.7969 7.37134L9.80987 6.38434L7.99687 8.19034V3.87134Z"
        fill={color}
      />
    </svg>
  );
};