import PropTypes from 'prop-types';
import React from 'react';
import Icon from '../icon';

export default function Industry({
  fill,
  style: styleProp,
  ...rest // eslint-disable-line comma-dangle
}) {
  const style = {
    ...styleProp,
    ...Icon.defaultProps.style,
  };
  return (
    <svg style={style} {...rest}>
      <g stroke="none" fillRule="nonzero" fill={fill}>
        <path d="M1.81246853,8 L1.00146853,18.541 C0.992468534,18.666 1.03046853,18.782 1.10946853,18.867 C1.18846853,18.952 1.30146853,19 1.42646853,19 L18.4264685,19 C18.7034685,19 18.9264685,18.776 18.9264685,18.5 L18.9264685,13.383 L14.6834685,15.929 C14.5294685,16.022 14.3364685,16.024 14.1794685,15.935 C14.0224685,15.846 13.9254685,15.68 13.9254685,15.5 L13.9254685,13.383 L9.68246853,15.929 C9.52846853,16.022 9.33546853,16.024 9.17846853,15.935 C9.02146853,15.846 8.92446853,15.68 8.92446853,15.5 L8.92446853,13.383 L4.68146853,15.929 C4.53746853,16.016 4.35746853,16.024 4.20646853,15.95 C4.05346853,15.876 3.95046853,15.73 3.92846853,15.562 L2.98346853,8 L1.81046853,8 L1.81246853,8 Z M18.4264685,20 L1.42646853,20 C1.01946853,20 0.646468534,19.839 0.375468534,19.547 C0.104468534,19.255 -0.0265314661,18.87 0.00446853394,18.465 L0.850468534,7.462 C0.871468534,7.201 1.08746853,7 1.34946853,7 L3.42646853,7 C3.67846853,7 3.89146853,7.188 3.92246853,7.438 L4.82846853,14.676 L9.16946853,12.071 C9.32446853,11.978 9.51646853,11.976 9.67346853,12.065 C9.83146853,12.154 9.92746853,12.32 9.92746853,12.5 L9.92746853,14.617 L14.1704685,12.071 C14.3254685,11.978 14.5174685,11.976 14.6744685,12.065 C14.8324685,12.154 14.9284685,12.32 14.9284685,12.5 L14.9284685,14.617 L19.1714685,12.071 C19.3264685,11.978 19.5184685,11.976 19.6754685,12.065 C19.8334685,12.154 19.9294685,12.32 19.9294685,12.5 L19.9294685,18.5 C19.9294685,19.327 19.2564685,20 18.4294685,20 L18.4264685,20 Z" />
        <path d="M2.42676853,4 C2.15076853,4 1.92676853,4.224 1.92676853,4.5 C1.92676853,4.776 2.15076853,5 2.42676853,5 C2.70276853,5 2.92676853,4.776 2.92676853,4.5 C2.92676853,4.224 2.70276853,4 2.42676853,4 M2.42676853,6 C1.59976853,6 0.926768534,5.327 0.926768534,4.5 C0.926768534,3.673 1.59976853,3 2.42676853,3 C3.25376853,3 3.92676853,3.673 3.92676853,4.5 C3.92676853,5.327 3.25376853,6 2.42676853,6" />
        <path d="M5.92676853,2 C5.31676853,2 4.92676853,2.296 4.92676853,2.5 C4.92676853,2.704 5.31676853,3 5.92676853,3 C6.53676853,3 6.92676853,2.704 6.92676853,2.5 C6.92676853,2.296 6.53676853,2 5.92676853,2 M5.92676853,4 C4.80476853,4 3.92676853,3.341 3.92676853,2.5 C3.92676853,1.659 4.80476853,1 5.92676853,1 C7.04876853,1 7.92676853,1.659 7.92676853,2.5 C7.92676853,3.341 7.04876853,4 5.92676853,4" />
        <path d="M11.9267685,1 C10.7817685,1 9.92676853,1.528 9.92676853,2 C9.92676853,2.472 10.7817685,3 11.9267685,3 C13.0717685,3 13.9267685,2.472 13.9267685,2 C13.9267685,1.528 13.0717685,1 11.9267685,1 M11.9267685,4 C10.2447685,4 8.92676853,3.122 8.92676853,2 C8.92676853,0.878 10.2447685,0 11.9267685,0 C13.6087685,0 14.9267685,0.878 14.9267685,2 C14.9267685,3.122 13.6087685,4 11.9267685,4" />
      </g>
    </svg>
  );
}

Industry.propTypes = {
  ...Icon.propTypes,
  fill: PropTypes.string,
};

Industry.defaultProps = Icon.defaultProps;
