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='M18.124 20.23H2.134a.73.73 0 0 1-.534-.215.73.73 0 0 1-.216-.534q0-.32.216-.535a.73.73 0 0 1 .534-.215h14.473l-1-1h-11.3q-.757 0-1.282-.525a1.75 1.75 0 0 1-.525-1.283V5.446q0-.164.086-.293a.65.65 0 0 1 .221-.207l-1.25-1.265a.76.76 0 0 1-.212-.522.72.72 0 0 1 .228-.532.72.72 0 0 1 .527-.218q.31 0 .527.218l18.746 18.746q.207.208.212.522a.7.7 0 0 1-.212.532.72.72 0 0 1-.527.217.72.72 0 0 1-.527-.217zm-8.085-8.063-1.306-1.32q-.163.225-.255.532a2.4 2.4 0 0 0-.093.679v1.25q0 .319.216.534a.73.73 0 0 0 .534.216q.32 0 .535-.216a.73.73 0 0 0 .215-.534v-.727a.6.6 0 0 1 .039-.231.6.6 0 0 1 .115-.183m10.373 5.394-6.179-6.178.994-1.004a.44.44 0 0 0 .14-.316.44.44 0 0 0-.14-.317L13.522 8.04q-.115-.115-.251-.057-.135.058-.136.213v1.112h-.977L6.581 3.73h13.112q.757 0 1.282.525t.525 1.282v10.385q0 .534-.285.974t-.803.665'
      />
    </G>
  </Svg>
);
export default SvgComponent;
