import Svg, { Mask, Path, G } from "react-native-svg";
import type { SvgProps } from "react-native-svg";
const SvgComponent = ({ height, width, color }: SvgProps) => (
  <Svg width={width} height={height} fill='none' viewBox='0 0 24 24'>
    <Mask
      id='prefix__a'
      width={24}
      height={24}
      x={0}
      y={0}
      maskUnits='userSpaceOnUse'
      style={{
        maskType: "alpha",
      }}
    >
      <Path fill='#D9D9D9' d='M0 0h24v24H0z' />
    </Mask>
    <G mask='url(#prefix__a)'>
      <Path
        fill={color}
        d='M20.266 22.373 18.377 20.5H4.308a1.74 1.74 0 0 1-1.277-.531 1.74 1.74 0 0 1-.53-1.277V7.308q0-.746.53-1.277A1.74 1.74 0 0 1 4.308 5.5h1.208v2.139L1.808 3.93a.74.74 0 0 1 0-1.07.74.74 0 0 1 .535-.232q.302 0 .534.233l18.458 18.457a.73.73 0 0 1 .228.522.72.72 0 0 1-.228.532.74.74 0 0 1-.535.233.73.73 0 0 1-.534-.233m.667-5.075a.9.9 0 0 1-.497.066.86.86 0 0 1-.472-.262l-3.873-3.873a4 4 0 0 0-.251-1.701 4.03 4.03 0 0 0-2.368-2.367 4 4 0 0 0-1.7-.251L8.445 5.598a.8.8 0 0 1-.198-.297.96.96 0 0 1 0-.656q.057-.15.173-.287l.25-.275q.248-.27.597-.426A1.8 1.8 0 0 1 10 3.5h4q.384 0 .733.157.35.157.598.426L16.64 5.5h3.054q.745 0 1.276.531t.531 1.277v9.161q0 .316-.16.52a1 1 0 0 1-.407.309M12 17.115q.62 0 1.197-.177a3.7 3.7 0 0 0 1.078-.54l-5.673-5.673q-.36.5-.54 1.078A4 4 0 0 0 7.886 13q0 1.715 1.2 2.915t2.915 1.2m.005-1.5q-1.101 0-1.86-.76-.76-.759-.76-1.86a2.6 2.6 0 0 1 .763-1.847l3.704 3.704a2.594 2.594 0 0 1-1.847.764'
      />
    </G>
  </Svg>
);
export default SvgComponent;
