All files / src/assets/icons/RebrandedIcons MediaFileIcon.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 38 39 40                137x                                                              
import React from "react";
 
interface IconProps {
  height?: number;
  width?: number;
  color?: string;
}
 
const Icon = ({ color = "#A9AFBD", height = 24, width = 24 }: IconProps) => {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width={width}
      height={height}
      fill="none"
      viewBox="0 0 24 24"
    >
      <path
        stroke={color}
        strokeWidth="1.2"
        d="M13.172 3H9c-1.886 0-2.828 0-3.414.586C5 4.172 5 5.114 5 7v10c0 1.886 0 2.828.586 3.414C6.172 21 7.114 21 9 21h6c1.886 0 2.828 0 3.414-.586C19 19.828 19 18.886 19 17V8.828c0-.408 0-.613-.076-.796-.076-.184-.22-.329-.51-.618l-3.828-3.828c-.29-.29-.434-.434-.617-.51C13.785 3 13.58 3 13.171 3z"
      ></path>
      <path
        stroke={color}
        strokeLinecap="round"
        strokeLinejoin="round"
        strokeWidth="1.2"
        d="M13.855 14.08l-3.182-1.363A1.2 1.2 0 009 13.82v2.36a1.2 1.2 0 001.673 1.103l3.182-1.364c.808-.346.808-1.492 0-1.838z"
      ></path>
      <path
        stroke={color}
        strokeWidth="1.2"
        d="M13 3v4c0 .943 0 1.414.293 1.707C13.586 9 14.057 9 15 9h4"
      ></path>
    </svg>
  );
};
 
export default Icon;