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='M16.514 18.885H5.25a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.535q0-.318.216-.534a.73.73 0 0 1 .534-.215h1.058V9.923q0-.7.169-1.39.17-.692.508-1.317L9.69 9.923H7.584L2.56 4.9a.73.73 0 0 1-.212-.522.7.7 0 0 1 .212-.532.72.72 0 0 1 .527-.217q.31 0 .527.217l16.789 16.789q.207.207.22.514a.7.7 0 0 1-.223.541.71.71 0 0 1-.524.216.72.72 0 0 1-.527-.217zm1.177-6.016a.82.82 0 0 1-.16.49 1.03 1.03 0 0 1-.407.339.8.8 0 0 1-.513.063.87.87 0 0 1-.457-.244L9.135 6.498a1.02 1.02 0 0 1-.305-.742q0-.249.123-.486a.86.86 0 0 1 .344-.362q.342-.192.704-.322.36-.128.748-.213V3.75q0-.52.364-.885.365-.365.885-.365t.885.365.366.885v.623a5.4 5.4 0 0 1 3.202 1.976 5.6 5.6 0 0 1 1.24 3.574zm-5.692 8.823q-.68 0-1.21-.373-.532-.374-.532-1.007 0-.18.146-.304a.5.5 0 0 1 .328-.123h2.533q.19 0 .334.123a.39.39 0 0 1 .143.305q0 .63-.532 1.005-.531.374-1.21.374'
      />
    </G>
  </Svg>
);
export default SvgComponent;
