import React from 'react'

import { BaseIcon, BaseIconDefaultProps, Icon } from '../_utils/icon'

export const CarIcon = (props: Icon) => (
  <BaseIcon {...props}>
    <g stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
      <path
        d="M14.3855102,6.82142857 C15.2776084,6.82142857 16.0935768,7.28464844 16.492588,8.01867571 L16.5667298,8.16903492 L17.824,10.9994286 L21,11 C21.5128358,11 21.9355072,11.3860402 21.9932723,11.8833789 L22,12 L22,16 C22,16.5128358 21.6139598,16.9355072 21.1166211,16.9932723 L21,17 L19.4499027,17.0004345 C19.2180997,18.1413382 18.2093254,19 17,19 C15.7906746,19 14.7819003,18.1413382 14.5500973,17.0004345 L9.44990271,17.0004345 C9.21809967,18.1413382 8.20932545,19 7,19 C5.79067455,19 4.78190033,18.1413382 4.55009729,17.0004345 L3,17 C2.48716416,17 2.06449284,16.6139598 2.00672773,16.1166211 L2,16 L2,12 C2,11.4871642 2.38604019,11.0644928 2.88337887,11.0067277 L3,11 L4.175,10.9994286 L5.43327016,8.16903492 C5.77517227,7.39975516 6.5567534,6.88845531 7.43718619,6.82754783 L7.61448979,6.82142857 L14.3855102,6.82142857 Z M7,15 C6.17157288,15 5.5,15.6715729 5.5,16.5 C5.5,17.3284271 6.17157288,18 7,18 C7.82842712,18 8.5,17.3284271 8.5,16.5 C8.5,15.6715729 7.82842712,15 7,15 Z M17,15 C16.1715729,15 15.5,15.6715729 15.5,16.5 C15.5,17.3284271 16.1715729,18 17,18 C17.8284271,18 18.5,17.3284271 18.5,16.5 C18.5,15.6715729 17.8284271,15 17,15 Z M21,12 L3,12 L3,16 L4.55009729,15.9995655 C4.78190033,14.8586618 5.79067455,14 7,14 C8.20932545,14 9.21809967,14.8586618 9.44990271,15.9995655 L14.5500973,15.9995655 C14.7819003,14.8586618 15.7906746,14 17,14 C18.2093254,14 19.2180997,14.8586618 19.4499027,15.9995655 L21,16 L21,12 Z M10.5,7.82142857 L7.61448979,7.82142857 C7.09454084,7.82142857 6.63038153,8.07785292 6.40306805,8.46611009 L6.34708171,8.57517339 L5.269,10.9994286 L10.5,10.9994286 L10.5,7.82142857 Z M14.3855102,7.82142857 L11.5,7.82142857 L11.5,10.9994286 L16.73,10.9994286 L15.6529183,8.57517339 C15.470164,8.16397629 15.0341043,7.87328552 14.5257952,7.82769259 L14.3855102,7.82142857 Z"
        fill={props.iconColor}
        fillRule="nonzero"
      />
    </g>
  </BaseIcon>
)

CarIcon.defaultProps = BaseIconDefaultProps
