All files / src/assets/builderIcons RichTextIcon.tsx

50% Statements 1/2
0% Branches 0/5
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 41 42 43 44 45 46 47 48 49 50 51 52 53 54                176x                                                                                          
interface IconProps {
  height?: number;
  width?: number;
  fill?: string;
  stroke?: string;
  background?: string;
}
 
const RichTextIcon = ({
  width = 33,
  height = 32,
  fill = "none",
  stroke = "#727179",
  background = "#F4F3F7",
}: IconProps) => {
  return (
    <svg
      width={width}
      height={height}
      viewBox="0 0 33 32"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <rect x="0.25" width="32" height="32" rx="4" fill={background} />
      <rect
        x="5.58337"
        y="9.33331"
        width="21.3333"
        height="2.66667"
        rx="1.33333"
        fill="#727179"
      />
      <rect
        x="5.58337"
        y="14.6666"
        width="21.3333"
        height="2.66667"
        rx="1.33333"
        fill="#727179"
      />
      <rect
        x="5.58337"
        y="20"
        width="13.5758"
        height="2.66667"
        rx="1.33333"
        fill="#727179"
      />
    </svg>
  );
};
 
export default RichTextIcon;