import React from 'react';
import type MdIconProps from './icon.model';

const MdCommentIcon: React.FunctionComponent<MdIconProps> = ({ className, ...otherProps }: MdIconProps) => {
  // eslint-disable-next-line no-console
  console.warn('MdCommentIcon is deprecated and will be removed in a future release. Use MdIconChat instead.');

  return (
    <svg
      viewBox="0 0 32 32"
      version="1.1"
      xmlns="http://www.w3.org/2000/svg"
      xmlnsXlink="http://www.w3.org/1999/xlink"
      className={className}
      {...otherProps}
    >
      <path d="M17.632 12.334H15.248V14.814H17.632V12.334Z" fill="currentColor" />
      <path d="M12.8645 12.334H10.4805V14.814H12.8645V12.334Z" fill="currentColor" />
      <path d="M22.384 12.334H20V14.814H22.384V12.334Z" fill="currentColor" />
      <path
        d="M28.7521 6.9602C28.7585 5.97908 28.3859 5.03336 27.7121 4.3202C27.3724 3.96679 26.965 3.68547 26.5142 3.49304C26.0633 3.3006 25.5783 3.20101 25.0881 3.2002H8.48012C7.99128 3.20437 7.50809 3.30506 7.05828 3.49648C6.60846 3.6879 6.20089 3.96629 5.85895 4.31565C5.51702 4.66502 5.24746 5.07849 5.06576 5.53231C4.88405 5.98614 4.79378 6.47139 4.80012 6.9602V19.9682C4.79378 20.457 4.88405 20.9423 5.06576 21.3961C5.24746 21.8499 5.51702 22.2634 5.85895 22.6127C6.20089 22.9621 6.60846 23.2405 7.05828 23.4319C7.50809 23.6233 7.99128 23.724 8.48012 23.7282H22.3361L26.0001 27.5842C26.2239 27.8128 26.5107 27.9698 26.8239 28.0352C27.1371 28.1006 27.4627 28.0714 27.7593 27.9514C28.0559 27.8314 28.3101 27.6259 28.4898 27.3611C28.6694 27.0963 28.7663 26.7842 28.7681 26.4642L28.7521 6.9602ZM23.0081 22.1282H8.48012C8.20138 22.124 7.92623 22.0648 7.67052 21.9537C7.41481 21.8427 7.18361 21.6822 6.99025 21.4814C6.79689 21.2806 6.64519 21.0435 6.5439 20.7838C6.44262 20.5241 6.39375 20.2469 6.40012 19.9682V6.9602C6.39375 6.6815 6.44262 6.40431 6.5439 6.1446C6.64519 5.88488 6.79689 5.64779 6.99025 5.44699C7.18361 5.24619 7.41481 5.08566 7.67052 4.97465C7.92623 4.86364 8.20138 4.80435 8.48012 4.8002H25.0881C25.3655 4.80643 25.6389 4.86725 25.8928 4.97919C26.1466 5.09112 26.376 5.25198 26.5676 5.45257C26.7593 5.65316 26.9096 5.88955 27.0099 6.14823C27.1102 6.40692 27.1585 6.68282 27.1521 6.9602V26.4642L23.0081 22.1282Z"
        fill="currentColor"
      />
    </svg>
  );
};

export default MdCommentIcon;
