import React from 'react'
import { IconProps } from '../../types/truckLocationTimeLine'

export const TrackingTruckIconSvg = (props: IconProps) => {
  const { className } = props
  const _class = className || 'w-4 h-4'
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width="22"
      height="11"
      viewBox="0 0 22 11"
      fill="none"
      className={_class}
    >
      <path
        d="M3.29811 7.36201C2.43106 7.36201 1.72664 8.07081 1.72664 8.9418C1.72594 9.35944 1.89106 9.76027 2.18572 10.0562C2.48038 10.3522 2.88047 10.5191 3.29811 10.5203C3.71613 10.5195 4.11672 10.3527 4.41182 10.0566C4.70691 9.76053 4.87235 9.35938 4.87177 8.94136C4.87223 8.52333 4.70677 8.12221 4.41171 7.82609C4.11666 7.52996 3.71614 7.36305 3.29811 7.36201ZM3.29811 9.75581C3.08916 9.75511 2.88903 9.67147 2.74173 9.52326C2.59443 9.37506 2.51201 9.17442 2.5126 8.96547C2.51248 8.75674 2.59507 8.55647 2.7423 8.4085C2.88952 8.26054 3.08938 8.17694 3.29811 8.17601C3.50722 8.17636 3.70764 8.2597 3.85534 8.40773C4.00304 8.55576 4.08593 8.75636 4.08582 8.96547C4.0861 9.06912 4.06595 9.17181 4.02649 9.26765C3.98704 9.3635 3.92907 9.45062 3.8559 9.52404C3.78274 9.59745 3.69581 9.65571 3.60009 9.69548C3.50438 9.73525 3.40176 9.75575 3.29811 9.75581ZM17.1248 7.36201C16.2565 7.36201 15.5525 8.07081 15.5525 8.9418C15.5517 9.35967 15.7169 9.76075 16.0117 10.0568C16.3066 10.3529 16.707 10.5198 17.1248 10.5207C17.9928 10.5207 18.6985 9.81367 18.6985 8.9418C18.699 8.52373 18.5335 8.12256 18.2385 7.82637C17.9434 7.53018 17.5429 7.36317 17.1248 7.36201ZM17.1248 9.75581C16.9158 9.75511 16.7156 9.67149 16.5681 9.52331C16.4207 9.37514 16.3381 9.17451 16.3384 8.96547C16.3384 8.75662 16.4212 8.55629 16.5686 8.40832C16.716 8.26036 16.916 8.17682 17.1248 8.17601C17.5597 8.17601 17.9125 8.53063 17.9125 8.96547C17.9127 9.06909 17.8925 9.17172 17.853 9.26752C17.8135 9.36331 17.7555 9.45039 17.6824 9.52378C17.6092 9.59717 17.5223 9.65543 17.4267 9.69524C17.331 9.73505 17.2284 9.75564 17.1248 9.75581ZM20.6053 0H6.77725C6.66162 0.000348254 6.55084 0.0465598 6.46923 0.128494C6.38763 0.210428 6.34186 0.32139 6.34198 0.43703V4.40055H5.47099V1.96729C5.4711 1.90998 5.45992 1.8532 5.43808 1.80022C5.41624 1.74723 5.38417 1.69906 5.34371 1.65847C5.30324 1.61789 5.25517 1.58567 5.20225 1.56367C5.14932 1.54167 5.09258 1.53032 5.03527 1.53026H2.06855C1.5513 1.53026 1.08929 1.9125 1.00644 2.45955V2.43106L0.543549 5.05543L0.544426 5.06464C0.391891 5.09083 0.253548 5.17016 0.153901 5.28858C0.0542547 5.407 -0.000264348 5.55687 9.63783e-07 5.71164L0.0144663 5.85191L9.63783e-07 5.84796L0.653135 8.80021H1.33345V8.77348C1.33345 7.71531 2.19918 6.85835 3.26655 6.85835C4.33304 6.85835 5.19921 7.71531 5.19921 8.77348V8.80021H15.161V8.77348C15.161 7.71531 16.0272 6.85835 17.0928 6.85835C18.1602 6.85835 19.0264 7.71531 19.0264 8.77348L19.0246 8.80021H21.0406V0.43703C21.0407 0.379753 21.0295 0.323015 21.0077 0.270054C20.9859 0.217094 20.9539 0.168948 20.9134 0.128366C20.873 0.0877838 20.825 0.0555605 20.7721 0.0335355C20.7193 0.0115104 20.6626 0.000115013 20.6053 0ZM3.94642 2.24038V4.40055H1.33389L1.66045 2.56783C1.68763 2.34865 1.87831 2.1869 2.06855 2.1869H3.94642V2.24038Z"
        fill="white"
      />
    </svg>
  )
}
